summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index f705e5d..b62da0a 100644
--- a/signal.c
+++ b/signal.c
@@ -85,7 +85,7 @@ struct sigaction sa_dummy = {
void procd_signal(void)
{
- sigaction(SIGPIPE, &sa_dummy, NULL);
+ signal(SIGPIPE, SIG_IGN);
if (getpid() != 1)
return;
sigaction(SIGTERM, &sa_shutdown, NULL);