Browse Source

ignore SIGCHLD. this was causing some unneeded random crashes

ps 9 years ago
parent
commit
0b23a7eee5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/hermes.cpp

+ 1 - 0
src/hermes.cpp

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