summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-13 02:18:05 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-13 02:18:05 +0000
commit81f22e9a230f18ccea0852ee13863562cf7d42c3 (patch)
tree30cad8270c4a976086b3fad4d2f07ece88ece751
parent6b035d05c64fd8a74d96484118bbe3e8006fa06c (diff)
downloadportage-81f22e9a230f18ccea0852ee13863562cf7d42c3.tar.gz
portage-81f22e9a230f18ccea0852ee13863562cf7d42c3.tar.bz2
portage-81f22e9a230f18ccea0852ee13863562cf7d42c3.zip
Bug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing of
subprocesses by SIGPIPE (as emerge has for a long time). Thanks to Harald van Dijk truedfx@g.o for this patch. svn path=/main/trunk/; revision=15823
-rwxr-xr-xbin/ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild b/bin/ebuild
index d8eec06a7..f2625cc93 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -17,6 +17,7 @@ try:
signal.signal(signal.SIGINT, exithandler)
signal.signal(signal.SIGTERM, exithandler)
+ signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except KeyboardInterrupt:
sys.exit(1)