1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 00:28:48 -05:00

Only show exit status in verbose mode.

This commit is contained in:
Dan Fandrich 2007-03-28 04:36:09 +00:00
parent 25c064c888
commit 31b1e988f4

View File

@ -133,7 +133,7 @@ if (system "$sshd -t -q -f $conffile") {
# Start the server # Start the server
my $rc = system "$sshd -e -D -f $conffile > log/ssh.log 2>&1"; my $rc = system "$sshd -e -D -f $conffile > log/ssh.log 2>&1";
$rc >>= 8; $rc >>= 8;
if($rc) { if($rc && $verbose) {
print STDERR "$sshd exited with $rc!\n"; print STDERR "$sshd exited with $rc!\n";
} }