git-daemon: SysV needs the signal handler reinstated. Fixes the bug on (amongst others) Solaris that only the first child ever is reaped. Signed-off-by: Stephen R. van den Berg <srb@cuci.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/daemon.c b/daemon.c index 4540e8d..8dcde73 100644 --- a/daemon.c +++ b/daemon.c
@@ -794,6 +794,7 @@ } break; } + signal(SIGCHLD, child_handler); } static int set_reuse_addr(int sockfd)