From 57a632def26dd65447f5fa09cbf01d053bc0d218 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 29 Dec 2012 11:20:57 -0800 Subject: [PATCH] core: Don't bother with trying to handle SIGPIPE --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index 4a67e0f90..d2ed56cef 100644 --- a/src/main.c +++ b/src/main.c @@ -315,9 +315,6 @@ static gboolean signal_handler(GIOChannel *channel, GIOCondition cond, case SIGUSR2: __btd_toggle_debug(); break; - case SIGPIPE: - /* ignore */ - break; } return TRUE; @@ -334,7 +331,6 @@ static guint setup_signalfd(void) sigaddset(&mask, SIGINT); sigaddset(&mask, SIGTERM); sigaddset(&mask, SIGUSR2); - sigaddset(&mask, SIGPIPE); if (sigprocmask(SIG_BLOCK, &mask, NULL) < 0) { perror("Failed to set signal mask"); -- 2.47.3