2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix exitcode init in noderun

The order was incorrect in the code.
This commit is contained in:
Jarrod Johnson 2017-08-07 11:42:58 -04:00
parent efe3db11ce
commit 4110d18f43

View File

@ -71,9 +71,9 @@ def run():
run_cmdv(node, cmdv, all, pipedesc)
else:
pendingexecs.append((node, cmdv))
exitcode = 0
if not all or exitcode:
sys.exit(exitcode)
exitcode = 0
rdy, _, _ = select.select(all, [], [], 10)
while all:
for r in rdy: