From 0b23a7eee5b90d45d281338f7c6e38e8da9366c7 Mon Sep 17 00:00:00 2001 From: ps Date: Thu, 29 Sep 2011 20:29:49 +0000 Subject: [PATCH] ignore SIGCHLD. this was causing some unneeded random crashes --- src/hermes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hermes.cpp b/src/hermes.cpp index 910caac..504b479 100644 --- a/src/hermes.cpp +++ b/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