From 156695fb4c84016e57067fc652467860a024a6bd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 26 Jun 2006 19:31:26 +0000 Subject: [PATCH] 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 --- bin/emerge | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2