diff options
-rwxr-xr-x | bin/ebuild | 3 | ||||
-rwxr-xr-x | bin/emerge | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/ebuild b/bin/ebuild index 01b77b6e8..a4c0bfdbc 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -17,7 +17,8 @@ try: signal.signal(signal.SIGINT, exithandler) signal.signal(signal.SIGTERM, exithandler) - # Quiet killing of subprocesses by SIGPIPE (see bug #309001). + # Prevent "[Errno 32] Broken pipe" exceptions when + # writing to a pipe. signal.signal(signal.SIGPIPE, signal.SIG_DFL) except KeyboardInterrupt: diff --git a/bin/emerge b/bin/emerge index 8f5d98f7e..fe3b422d7 100755 --- a/bin/emerge +++ b/bin/emerge @@ -17,7 +17,8 @@ try: signal.signal(signal.SIGINT, exithandler) signal.signal(signal.SIGTERM, exithandler) - # Quiet killing of subprocesses by SIGPIPE (see bug #309001). + # Prevent "[Errno 32] Broken pipe" exceptions when + # writing to a pipe. signal.signal(signal.SIGPIPE, signal.SIG_DFL) except KeyboardInterrupt: |