projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f1c6e
)
ignore sigpipe
author
John Crispin
<blogic@openwrt.org>
Mon, 22 Apr 2013 10:58:01 +0000
(12:58 +0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 23 Apr 2013 16:54:03 +0000
(18:54 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
signal.c
patch
|
blob
|
history
diff --git
a/signal.c
b/signal.c
index f705e5d2a091729240b66877a4934127a3178a48..b62da0a8c1ce1016f0051959390e25ac88b030cb 100644
(file)
--- a/
signal.c
+++ b/
signal.c
@@
-85,7
+85,7
@@
struct sigaction sa_dummy = {
void procd_signal(void)
{
- sig
action(SIGPIPE, &sa_dummy, NULL
);
+ sig
nal(SIGPIPE, SIG_IGN
);
if (getpid() != 1)
return;
sigaction(SIGTERM, &sa_shutdown, NULL);