From ccb3abd704289b3724eb0bed7cb02ba540d615fa Mon Sep 17 00:00:00 2001 From: Mathieu Pasquet Date: Thu, 30 Jan 2014 18:23:44 +0100 Subject: Exit on SIGPIPE --- src/poezio.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/poezio.py b/src/poezio.py index 43dd6b95..3245be09 100644 --- a/src/poezio.py +++ b/src/poezio.py @@ -34,6 +34,7 @@ def main(): signal.signal(signal.SIGUSR1, cocore.sigusr_handler) # reload the config signal.signal(signal.SIGHUP, cocore.exit_from_signal) signal.signal(signal.SIGTERM, cocore.exit_from_signal) + signal.signal(signal.SIGPIPE, cocore.exit_from_signal) if options.debug: cocore.debug = True cocore.start() -- cgit v1.2.3