diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/server.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index a84b58a0528..6241e96f775 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -360,13 +360,7 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_ } #ifdef HAVE_ATEXIT - { - static int atexit_set; - if(atexit_set == 0) { - atexit_set=1; - atexit(killkids); - } - } + atexit(killkids); #endif /* Stop zombies */ |