[PATCH] TestBot/TestAgent: Old Net::OpenSSH versions don't have disconnect().

Francois Gouget fgouget at codeweavers.com
Fri Mar 29 03:51:26 CDT 2019


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/TestAgent.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index 3e0e099a..15da924f 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -130,7 +130,6 @@ sub Disconnect($)
   {
     # This may close the SSH channel ($self->{fd}) as a side-effect,
     # which will avoid undue delays.
-    $self->{ssh}->disconnect();
     $self->{ssh} = undef;
     waitpid($self->{sshpid}, 0);
     $self->{sshpid} = undef;
-- 
2.20.1



More information about the wine-devel mailing list