projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed4752
)
Use os._exit instead of sys.exit in a forked child process.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Jan 2007 22:25:55 +0000
(22:25 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Jan 2007 22:25:55 +0000
(22:25 -0000)
svn path=/main/trunk/; revision=5453
pym/getbinpkg.py
patch
|
blob
|
history
diff --git
a/pym/getbinpkg.py
b/pym/getbinpkg.py
index bb9c12e45b983c8313be152a979e39b804954281..ef609979af194b041cf8e6493e3178a3a08e8c9b 100644
(file)
--- 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