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:
parent
25c064c888
commit
31b1e988f4
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user