get rid of zombies
authorAndrew Tridgell <tridge@samba.org>
Sun, 17 Aug 2008 23:46:51 +0000 (09:46 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 17 Aug 2008 23:46:51 +0000 (09:46 +1000)
hacksmd.c

index 442d9e7..8333f8a 100644 (file)
--- a/hacksmd.c
+++ b/hacksmd.c
@@ -570,6 +570,8 @@ int main(int argc, char * const argv[])
        argv += optind;
        argc -= optind;
 
+       signal(SIGCHLD, SIG_IGN);
+
        signal(SIGTERM, hsm_term_handler);
        signal(SIGINT, hsm_term_handler);