s4-smbd: Also restart prefork children lost to SIGKILL (-9)
[samba.git] / source4 / smbd / process_prefork.c
index a7222079624a209a6bd8ce64f82cb2c260116c8c..5667fb5f1efc37d97c37d53ac0aacee57dad3aae 100644 (file)
@@ -518,7 +518,8 @@ static void prefork_child_pipe_handler(struct tevent_context *ev,
                DBG_ERR("Parent %d, Child %d terminated with signal %d\n",
                        getpid(), pid, status);
                if (status == SIGABRT || status == SIGBUS || status == SIGFPE ||
-                   status == SIGILL || status == SIGSYS || status == SIGSEGV) {
+                   status == SIGILL || status == SIGSYS || status == SIGSEGV ||
+                   status == SIGKILL) {
 
                        prefork_restart(ev, rc);
                }