From 1e8aca1c26dc1d7cd4fd94d4dc42e52db45d9890 Mon Sep 17 00:00:00 2001 From: Jarrod Johnon Date: Tue, 4 Nov 2014 10:50:37 -0500 Subject: [PATCH] Fix confetty exit on server stop/restart When the behavior fix for exiting on error was put in, it caused it to fail exiting when remote disconnects. Address by showing that the console is definitely not active as well as exit being required now. --- confluent_client/bin/confetty | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 832d8bed..9751e001 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -593,6 +593,7 @@ while inconsole or not doexit: sys.stdout.flush() else: doexit = True + inconsole = False sys.stdout.write("\r\n[remote disconnected]\r\n") break else: