Browse Source

Actually terminate when the child process dies.

master
Con Kolivas 10 years ago
parent
commit
babccc6ddf
  1. 1
      src/ckpool.c

1
src/ckpool.c

@ -1245,6 +1245,7 @@ static void *watchdog(void *arg)
LOGEMERG("%s process dead, terminating!", pi->processname); LOGEMERG("%s process dead, terminating!", pi->processname);
else else
LOGEMERG("Unknown child process %d dead, exiting!", pid); LOGEMERG("Unknown child process %d dead, exiting!", pid);
break;
#endif #endif
} }
send_proc(&ckp->main, "shutdown"); send_proc(&ckp->main, "shutdown");

Loading…
Cancel
Save