summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-03 22:25:55 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-03 22:25:55 +0000
commitec5f8fa0cf35e3c8743713696d58898abb8dd1b3 (patch)
tree817973da686813ade027535d80c52cd01cb894a0
parent2ed475228df5ac93c4219c4b9497513d071d6c78 (diff)
downloadportage-ec5f8fa0cf35e3c8743713696d58898abb8dd1b3.tar.gz
portage-ec5f8fa0cf35e3c8743713696d58898abb8dd1b3.tar.bz2
portage-ec5f8fa0cf35e3c8743713696d58898abb8dd1b3.zip
Use os._exit instead of sys.exit in a forked child process.
svn path=/main/trunk/; revision=5453
-rw-r--r--pym/getbinpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/getbinpkg.py b/pym/getbinpkg.py
index bb9c12e45..ef609979a 100644
--- a/pym/getbinpkg.py
+++ b/pym/getbinpkg.py
@@ -374,7 +374,7 @@ def file_get(baseurl,dest,conn=None,fcmd=None):
except OSError:
pass
sys.stderr.write("!!! Failed to spawn fetcher.\n")
- sys.exit(1)
+ os._exit(1)
retval=os.waitpid(mypid,0)[1]
if (retval & 0xff) == 0:
retval = retval >> 8