mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
This should fix the zombie problem that luke noticed.
This commit is contained in:
@ -30,7 +30,7 @@ static void sig_cld(int signum)
|
|||||||
{
|
{
|
||||||
while (sys_waitpid((pid_t)-1,(int *)NULL, WNOHANG) > 0) ;
|
while (sys_waitpid((pid_t)-1,(int *)NULL, WNOHANG) > 0) ;
|
||||||
|
|
||||||
CatchSignal(SIGCLD, SIG_IGN);
|
CatchSignal(SIGCLD, sig_cld);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user