diff options
-rw-r--r-- | source3/nmbd/nmbd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 50b18e5ea44..d883c0a5568 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -884,6 +884,9 @@ static bool open_sockets(bool isdaemon, int port) BlockSignals(True, SIGUSR2); #endif + /* Ignore children - no zombies. */ + CatchChild(); + if ( opt_interactive ) { Fork = False; log_stdout = True; |