From: Dan Fandrich Date: Wed, 28 Mar 2007 04:36:09 +0000 (+0000) Subject: Only show exit status in verbose mode. X-Git-Tag: curl-7_16_2~108 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31b1e988f422d47c0c1726c0acbc60004fdae39d;p=thirdparty%2Fcurl.git Only show exit status in verbose mode. --- diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 98e15d1244..b910fd9dbe 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"; }