Skip to content
Snippets Groups Projects
Commit 31b1e988 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Only show exit status in verbose mode.

parent 25c064c8
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment