ignore SIGCHLD. this was causing some unneeded random crashes

This commit is contained in:
ps 2011-09-29 20:29:49 +00:00
parent dd51b74c90
commit 0b23a7eee5

View file

@ -119,6 +119,7 @@ main
signal(SIGTERM,exit_requested); signal(SIGTERM,exit_requested);
signal(SIGINT,exit_requested); signal(SIGINT,exit_requested);
signal(SIGCHLD,SIG_IGN);
//we have to create the server socket BEFORE chrooting, because if we don't, //we have to create the server socket BEFORE chrooting, because if we don't,
//SSL cannot initialize because it's missing libz //SSL cannot initialize because it's missing libz