summaryrefslogtreecommitdiff
path: root/source
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
commit425ccf9271ea44879d0940b9d95ae9b8f95aa092 (patch)
tree16e3b0aec12bf0b737750724933b44010a17bc3d /source
parent601f995ffbfa0ee477ea628d92b9660d6bdd8cbc (diff)
downloadsamba-425ccf9271ea44879d0940b9d95ae9b8f95aa092.tar.gz
This should fix the zombie problem that luke noticed.
Diffstat (limited to 'source')
-rw-r--r--source/lib/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/signal.c b/source/lib/signal.c
index 8f6f5a9cd47..db72b458a7a 100644
--- a/source/lib/signal.c
+++ b/source/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);
}