Diff between 624b0785dd8e8ba4dc9a0969fdf6dd8f51251b66 and 57a632def26dd65447f5fa09cbf01d053bc0d218
Changed Files
| File | Additions | Deletions | Status |
| src/main.c | +0 | -4 | modified |
Full Patch
diff --git a/src/main.c b/src/main.c
index 4a67e0f..d2ed56c 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");