aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-28 04:36:09 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-28 04:36:09 +0000
commit31b1e988f422d47c0c1726c0acbc60004fdae39d (patch)
tree0bbbd1d8c47eae08bdd781ae59c2c12c475e0bd8
parent25c064c8888134be91e157d6542e4667b8cf5742 (diff)
Only show exit status in verbose mode.
-rw-r--r--tests/sshserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 98e15d124..b910fd9db 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";
}