From d3b78f4a3226f955085b60fff013ac1e3ea30a86 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Mar 2007 20:50:10 +0000 Subject: [PATCH] Make sure pids are appropriately removed from portage_exec.spawned_pids. (trunk r6110:6111) svn path=/main/branches/2.1.2/; revision=6112 --- bin/emerge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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( -- 2.26.2