From d1247cfb37404e560273de0c4e037cb625e44c84 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 16 Mar 2016 11:20:14 -0400 Subject: [PATCH] Restore disconnect notification to ssh plugin The disconnect notification was erroneously removed in the previous checkin, this restores it. --- confluent_server/confluent/plugins/shell/ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/plugins/shell/ssh.py b/confluent_server/confluent/plugins/shell/ssh.py index b6a08eed..331a4a5a 100644 --- a/confluent_server/confluent/plugins/shell/ssh.py +++ b/confluent_server/confluent/plugins/shell/ssh.py @@ -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)