From 4110d18f437dbe139bc38083cbcd848c3cf1d9f2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 7 Aug 2017 11:42:58 -0400 Subject: [PATCH] Fix exitcode init in noderun The order was incorrect in the code. --- confluent_client/bin/noderun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/noderun b/confluent_client/bin/noderun index 29932baa..abbb7ca6 100755 --- a/confluent_client/bin/noderun +++ b/confluent_client/bin/noderun @@ -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: