From: Zac Medico Date: Mon, 26 Jun 2006 19:31:26 +0000 (-0000) Subject: Ignore SIGPIPE signals in order to prevent '[Errno 32] Broken pipe' exceptions from... X-Git-Tag: v2.1.1~372 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=156695fb4c84016e57067fc652467860a024a6bd;p=portage.git Ignore SIGPIPE signals in order to prevent '[Errno 32] Broken pipe' exceptions from being raised when emerge output is being piped. This reverts a behavior change from r3606. svn path=/main/trunk/; revision=3668 --- diff --git a/bin/emerge b/bin/emerge index 0739986f5..f881858ca 100755 --- a/bin/emerge +++ b/bin/emerge @@ -15,6 +15,7 @@ try: signal.signal(signal.SIGINT, exithandler) signal.signal(signal.SIGTERM, exithandler) + signal.signal(signal.SIGPIPE, signal.SIG_DFL) except KeyboardInterrupt: sys.exit(1)