2
0
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:
Jarrod Johnson 2016-03-16 11:20:14 -04:00
parent c5e19fe474
commit d1247cfb37

View File

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