From: Zac Medico Date: Sat, 13 Mar 2010 02:18:05 +0000 (-0000) Subject: Bug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing of X-Git-Tag: v2.2_rc68~716 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81f22e9a230f18ccea0852ee13863562cf7d42c3;p=portage.git 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 --- 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)