testbot/TestAgent: Fix the $Debug variable default value and check.

Francois Gouget fgouget at codeweavers.com
Tue Dec 11 05:08:14 CST 2012


---
 testbot/lib/WineTestBot/TestAgent.pm |    4 ++--
 1 file 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());
-- 
1.7.10.4




More information about the wine-patches mailing list