From 7edfbb45edcf275a855f5e1f5cc24cac81e382ff Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 22 Apr 2013 12:58:01 +0200 Subject: [PATCH] ignore sigpipe Signed-off-by: John Crispin --- signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1