Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8724418
)
errlogger: Ignore SIGCHLD.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 11 Feb 2011 00:51:09 +0000
(
01:51
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 11 Feb 2011 00:51:09 +0000
(
01:51
+0100)
src/errlogger.c
patch
|
blob
|
blame
|
history
diff --git
a/src/errlogger.c
b/src/errlogger.c
index
7a50c2c
..
9e7692c
100644
(file)
--- a/
src/errlogger.c
+++ b/
src/errlogger.c
@@
-22,6
+22,7
@@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <signal.h>
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);
}