mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-29 12:27:40 +00:00
Restore disconnect notification to ssh plugin
The disconnect notification was erroneously removed in the previous checkin, this restores it.
This commit is contained in:
parent
c5e19fe474
commit
d1247cfb37
@ -72,6 +72,7 @@ class SshShell(conapi.Console):
|
||||
while self.connected:
|
||||
pendingdata = self.shell.recv(8192)
|
||||
if pendingdata == '':
|
||||
self.datacallback(conapi.ConsoleEvent.Disconnect)
|
||||
return
|
||||
self.datacallback(pendingdata)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user