From: Fredrik Tolf Date: Fri, 11 Feb 2011 00:51:09 +0000 (+0100) Subject: errlogger: Ignore SIGCHLD. X-Git-Tag: 0.6~3 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=f8a8831482bb039362d86078c2f6905aaa0b691f errlogger: Ignore SIGCHLD. --- diff --git a/src/errlogger.c b/src/errlogger.c index 7a50c2c..9e7692c 100644 --- a/src/errlogger.c +++ b/src/errlogger.c @@ -22,6 +22,7 @@ #include #include #include +#include static int prio; @@ -141,6 +142,7 @@ int main(int argc, char **argv) exit(127); } close(pfd[1]); + signal(SIGCHLD, SIG_IGN); logloop(pfd[0]); return(0); }