worker: fix missed break on successful waitpid()
Follow-up for
5069a8a40b1b.
--- a/mercurial/worker.py Thu Nov 10 16:49:42 2016 -0500
+++ b/mercurial/worker.py Thu Nov 17 21:43:01 2016 +0900
@@ -102,6 +102,7 @@
while True:
try:
p, st = os.waitpid(pid, (0 if blocking else os.WNOHANG))
+ break
except OSError as e:
if e.errno == errno.EINTR:
continue