mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Cleaner exit on remote termination
This commit is contained in:
parent
52913a1d55
commit
1c2341e1eb
@ -143,10 +143,11 @@ while not doexit:
|
||||
sys.stdout.flush()
|
||||
else:
|
||||
doexit = True
|
||||
sys.stdout.write("\r\n[remote disconnected]\r\n")
|
||||
break
|
||||
else:
|
||||
input = fh.read()
|
||||
input = check_escape_seq(input, fh)
|
||||
if input:
|
||||
server.sendall(input)
|
||||
|
||||
exit()
|
||||
|
Loading…
Reference in New Issue
Block a user