From 31b1e988f422d47c0c1726c0acbc60004fdae39d Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 28 Mar 2007 04:36:09 +0000 Subject: [PATCH] Only show exit status in verbose mode. --- tests/sshserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 98e15d1..b910fd9 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -133,7 +133,7 @@ if (system "$sshd -t -q -f $conffile") { # Start the server my $rc = system "$sshd -e -D -f $conffile > log/ssh.log 2>&1"; $rc >>= 8; -if($rc) { +if($rc && $verbose) { print STDERR "$sshd exited with $rc!\n"; } -- 2.7.4