From babccc6ddfa76b87e64cd01fa0605f7c4f8e28d7 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 30 Jan 2015 09:32:57 +1100 Subject: [PATCH] Actually terminate when the child process dies. --- src/ckpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckpool.c b/src/ckpool.c index 03b75913..52921577 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -1245,6 +1245,7 @@ static void *watchdog(void *arg) LOGEMERG("%s process dead, terminating!", pi->processname); else LOGEMERG("Unknown child process %d dead, exiting!", pid); + break; #endif } send_proc(&ckp->main, "shutdown");