summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 4540e8df5a..8dcde73200 100644
--- a/daemon.c
+++ b/daemon.c
@@ -794,6 +794,7 @@ static void child_handler(int signo)
}
break;
}
+ signal(SIGCHLD, child_handler);
}
static int set_reuse_addr(int sockfd)