mercurial/worker.py
changeset 19406 3185b347ae98
parent 18914 05d5821e0dc8
child 19408 c7ec39c1a381
--- a/mercurial/worker.py	Tue Jul 16 11:18:16 2013 -0500
+++ b/mercurial/worker.py	Tue Jul 16 11:53:53 2013 -0500
@@ -109,7 +109,7 @@
     def waitforworkers():
         for _ in pids:
             st = _exitstatus(os.wait()[1])
-            if st and not problem:
+            if st and not problem[0]:
                 problem[0] = st
                 killworkers()
     t = threading.Thread(target=waitforworkers)