From 9472de30872a1672a22023e57991d1f8a343c59e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 11 Jan 2013 09:45:40 -0800 Subject: [PATCH] obexd: Don't bother with trying to handle SIGPIPE --- obexd/src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/obexd/src/main.c b/obexd/src/main.c index 09a01b72d..61a06b207 100644 --- a/obexd/src/main.c +++ b/obexd/src/main.c @@ -86,9 +86,6 @@ static gboolean signal_handler(GIOChannel *channel, GIOCondition cond, case SIGUSR2: __obex_log_enable_debug(); break; - case SIGPIPE: - /* ignore */ - break; } return TRUE; @@ -105,7 +102,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