From: Zac Medico Date: Wed, 3 Jan 2007 22:25:55 +0000 (-0000) Subject: Use os._exit instead of sys.exit in a forked child process. X-Git-Tag: v2.1.2~167 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec5f8fa0cf35e3c8743713696d58898abb8dd1b3;p=portage.git Use os._exit instead of sys.exit in a forked child process. svn path=/main/trunk/; revision=5453 --- 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