summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/poezio.py1
1 files changed, 1 insertions, 0 deletions
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()