From 391b964c2aa6e397adc67b6bc46ed568a7ff2bfe Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sun, 31 Jul 2016 21:22:48 -0400 Subject: [PATCH] No need to ignore SIGPIPE. libgpgme does it. --- src/pwmd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pwmd.c b/src/pwmd.c index f4cf3c98..22bcc867 100644 --- a/src/pwmd.c +++ b/src/pwmd.c @@ -2058,11 +2058,6 @@ server_loop (int sockfd, char **socketpath) sigdelset (&sigset, SIGUSR2); #endif - /* Ignored everywhere. When a client disconnects abnormally this signal - * gets raised. It isn't needed though because client_thread() will check - * for rcs even after the client disconnects. */ - signal (SIGPIPE, SIG_IGN); - /* Can show a backtrace of the stack in the log. */ signal (SIGSEGV, catchsig); -- 2.11.4.GIT