From 81f22e9a230f18ccea0852ee13863562cf7d42c3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Mar 2010 02:18:05 +0000 Subject: [PATCH] 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 --- bin/ebuild | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2