From 7bbc2aef0ec3862ad0951ed13e29e73e7d35a4f2 Mon Sep 17 00:00:00 2001 From: Tom Goff Date: Thu, 20 Oct 2016 18:06:23 -0400 Subject: [PATCH] daemon: Remove the SIGPIPE signal handler. Python installs a default signal handler for SIGPIPE that raises an exception. Let core-daemon handle the exception instead of exiting. --- daemon/sbin/core-daemon | 1 - 1 file changed, 1 deletion(-) diff --git a/daemon/sbin/core-daemon b/daemon/sbin/core-daemon index f9126b16..2229c866 100755 --- a/daemon/sbin/core-daemon +++ b/daemon/sbin/core-daemon @@ -156,7 +156,6 @@ def sighandler(signum, stackframe): signal.signal(signal.SIGHUP, sighandler) signal.signal(signal.SIGINT, sighandler) -signal.signal(signal.SIGPIPE, sighandler) signal.signal(signal.SIGTERM, sighandler) signal.signal(signal.SIGUSR1, sighandler) signal.signal(signal.SIGUSR2, sighandler)