From f8a8831482bb039362d86078c2f6905aaa0b691f Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 11 Feb 2011 01:51:09 +0100 Subject: [PATCH] errlogger: Ignore SIGCHLD. --- src/errlogger.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.11.0