From c8fbb58ae96f5c9b303a55cc3df5a861be33d166 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 3 Aug 2017 09:41:21 -0400 Subject: [PATCH] Correct overzealous deletion Selection error caused if statement to have syntax error. --- confluent_client/bin/nodeshell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodeshell b/confluent_client/bin/nodeshell index f4d22488..feb9840c 100755 --- a/confluent_client/bin/nodeshell +++ b/confluent_client/bin/nodeshell @@ -72,7 +72,7 @@ def run(): run_cmdv(node, cmdv, all, pipedesc) else: pendingexecs.append((node, cmdv)) - if not all or exitcode + if not all or exitcode: sys.exit(exitcode) rdy, _, _ = select.select(all, [], [], 10) while all: