Commit 45d4be15 authored by Shane Kerr's avatar Shane Kerr
Browse files

Block SIGPIPE signals. We had a command channel message cause

the process to die due to this problem.

Full details can be found in the ticket:

Patch reviewed by Michal in Jabber.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 98691c42
......@@ -710,6 +710,9 @@ def main():
signal.signal(signal.SIGINT, fatal_signal)
signal.signal(signal.SIGTERM, fatal_signal)
# Block SIGPIPE, as we don't want it to end this process
signal.signal(signal.SIGPIPE, signal.SIG_IGN)
# Go bob!
boss_of_bind = BoB(options.msgq_socket_file, int(options.auth_port),
options.address, options.nocache, options.verbose,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment