2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

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.
This commit is contained in:
Jarrod Johnon 2014-11-04 10:50:37 -05:00
parent 3f5903ee3d
commit 1e8aca1c26

View File

@ -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: