summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-13 02:22:20 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-13 02:22:20 +0000
commit8bc79c12255c791bde6b1c9e6b6c094ff92a8925 (patch)
tree78a5a33c421c467883a3b0b20deebd09e5ae2c7b /bin/emerge
parentBug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing of (diff)
downloadportage-multirepo-8bc79c12255c791bde6b1c9e6b6c094ff92a8925.tar.gz
portage-multirepo-8bc79c12255c791bde6b1c9e6b6c094ff92a8925.tar.bz2
portage-multirepo-8bc79c12255c791bde6b1c9e6b6c094ff92a8925.zip
Add references to bug #309001 in comments about SIGPIPE handling.
svn path=/main/trunk/; revision=15824
Diffstat (limited to 'bin/emerge')
-rwxr-xr-xbin/emerge1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 522135fc..8f5d98f7 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -17,6 +17,7 @@ try:
signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
+ # Quiet killing of subprocesses by SIGPIPE (see bug #309001).
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except KeyboardInterrupt: