summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-30 12:32:45 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-30 12:32:45 +0000
commitb29514427364105ba6286ad688d61444eafb22ea (patch)
tree305f2db7e447d0d78255202a71978258b3d0b8f1
parentf04d5b6b11235cc9ade0d65063dd60ad2184ee96 (diff)
downloadsamba-b29514427364105ba6286ad688d61444eafb22ea.tar.gz
samba-b29514427364105ba6286ad688d61444eafb22ea.tar.bz2
samba-b29514427364105ba6286ad688d61444eafb22ea.zip
This should fix the zombie problem that luke noticed.
(This used to be commit 425ccf9271ea44879d0940b9d95ae9b8f95aa092)
-rw-r--r--source3/lib/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/signal.c b/source3/lib/signal.c
index 8f6f5a9cd4..db72b458a7 100644
--- a/source3/lib/signal.c
+++ b/source3/lib/signal.c
@@ -30,7 +30,7 @@ static void sig_cld(int signum)
{
while (sys_waitpid((pid_t)-1,(int *)NULL, WNOHANG) > 0) ;
- CatchSignal(SIGCLD, SIG_IGN);
+ CatchSignal(SIGCLD, sig_cld);
}