From ea0aad8a8f78e4880df4244ef00f6a80f16bbda2 Mon Sep 17 00:00:00 2001 From: Frank Benkstein Date: Wed, 31 Oct 2007 11:19:59 +0100 Subject: [PATCH] src/script.c: what is it with me and the inverted logic? --- src/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.c b/src/script.c index e73de4d..79160c9 100644 --- a/src/script.c +++ b/src/script.c @@ -162,7 +162,7 @@ static bool call_script_hook(struct plugin *s, const char *hook_name) (void) sigaction(SIGPIPE, &oldact, NULL); /* If write fails the script is considered dead. */ - context->dead = (length == hook_name_length + 1); + context->dead = (length != hook_name_length + 1); return !context->dead; } -- 2.11.4.GIT