projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b035d0
)
Bug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing of
author
Zac Medico
<zmedico@gentoo.org>
Sat, 13 Mar 2010 02:18:05 +0000
(
02:18
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 13 Mar 2010 02:18:05 +0000
(
02:18
-0000)
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
patch
|
blob
|
history
diff --git
a/bin/ebuild
b/bin/ebuild
index d8eec06a76262c85cb9e0b0c2383d54368b9e500..f2625cc93acf63254428efc56736c50e8024ac73 100755
(executable)
--- 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)