From e5124093ff185cbbdc620956c208520e9fba5317 Mon Sep 17 00:00:00 2001 From: "roberto@precise64" Date: Thu, 24 May 2012 12:05:26 +0200 Subject: [PATCH] do not check for died processes if diedpid is invalid --- master.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/master.c b/master.c index e127cfa1..4c65d045 100644 --- a/master.c +++ b/master.c @@ -1500,6 +1500,8 @@ nextlock: } + if (diedpid <= 0) continue; + /* What happens here ? case 1) the diedpid is not a worker, report it and continue