summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pym/portage.py b/pym/portage.py
index bfaa1dee2..7875585e5 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -130,9 +130,6 @@ def exithandler(signum,frame):
signal.signal(signal.SIGTERM, signal.SIG_IGN)
# 0=send to *everybody* in process group
- portageexit()
- print "Exiting due to signal"
- os.kill(0,signum)
sys.exit(1)
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
@@ -6987,14 +6984,6 @@ def do_upgrade(mykey):
def portageexit():
global uid,portage_gid,portdb,db
if secpass and not os.environ.has_key("SANDBOX_ACTIVE"):
- # wait child process death
- try:
- while True:
- os.wait()
- except OSError:
- #writemsg(">>> All child process are now dead.")
- pass
-
close_portdbapi_caches()
if mtimedb: