Module: tools Branch: master Commit: 654bcdd17e53e80ed3b65ab6625e74e03bdb1bfd URL: http://source.winehq.org/git/tools.git/?a=commit;h=654bcdd17e53e80ed3b65ab66...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Dec 11 12:08:14 2012 +0100
testbot/TestAgent: Fix the $Debug variable default value and check.
---
testbot/lib/WineTestBot/TestAgent.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm index 8bc3e59..92d20bb 100644 --- a/testbot/lib/WineTestBot/TestAgent.pm +++ b/testbot/lib/WineTestBot/TestAgent.pm @@ -45,7 +45,7 @@ my %RpcNames=( $RPC_RM => 'rm', );
-my $Debug = 1; +my $Debug = 0; sub debug(@) { print STDERR @_ if ($Debug); @@ -787,7 +787,7 @@ sub _Connect($)
require Net::SSH2; $self->{ssh} = Net::SSH2->new(); - $self->{ssh}->debug(1) if ($Debug > 2); + $self->{ssh}->debug(1) if ($Debug > 1); if (!$self->{ssh}->connect($self->{sshfd})) { $self->_SetError($FATAL, "Unable to connect to the SSH server: " . $self->_ssherror());