s3: nmbd: Ensure the main nmbd process doesn't create zombies.
authorJeremy Allison <jra@samba.org>
Tue, 23 Sep 2014 20:32:37 +0000 (13:32 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 30 Sep 2014 18:40:16 +0000 (20:40 +0200)
commit16e460e180cf8d6708b27137742fbce80e29b823
tree87d34398b4a4769edf311d29bddbb1147d38a4d9
parentba3342616c54fe9e7f67e46f84d3decd9fa898dd
s3: nmbd: Ensure the main nmbd process doesn't create zombies.

Use the same mechanism as setup for smbd and winbindd.

Fixes bug #10830 - nmbd can leave unreaped zombies.

https://bugzilla.samba.org/show_bug.cgi?id=10830

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/nmbd/nmbd.c