mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-24 12:11:52 +00:00
Fix exitcode init in noderun
The order was incorrect in the code.
This commit is contained in:
parent
efe3db11ce
commit
4110d18f43
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user