From: Zac Medico Date: Thu, 1 Mar 2007 20:50:10 +0000 (-0000) Subject: Make sure pids are appropriately removed from portage_exec.spawned_pids. (trunk r6110... X-Git-Tag: v2.1.2.1~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3b78f4a3226f955085b60fff013ac1e3ea30a86;p=portage.git Make sure pids are appropriately removed from portage_exec.spawned_pids. (trunk r6110:6111) svn path=/main/branches/2.1.2/; revision=6112 --- diff --git a/bin/emerge b/bin/emerge index 95169c14b..b56eeb330 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3960,13 +3960,13 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): # This is the same code rsync uses for timeout. exitcode = 30 else: - if mypids: - portage_exec.spawned_pids.remove(mypids[0]) if exitcode != os.EX_OK: if exitcode & 0xff: exitcode = (exitcode & 0xff) << 8 else: exitcode >> 8 + if mypids: + portage_exec.spawned_pids.remove(mypids[0]) if content: try: servertimestamp = time.mktime(time.strptime(