mirror of https://github.com/moparisthebest/curl
Don't launch sshd as a daemon so its output can be logged.
This commit is contained in:
parent
45b2577974
commit
884171aecf
|
@ -131,7 +131,7 @@ if (system "$sshd -t -q -f $conffile") {
|
|||
}
|
||||
|
||||
# Start the server
|
||||
my $rc = system "$sshd -e -f $conffile > log/ssh.log 2>&1";
|
||||
my $rc = system "$sshd -e -D -f $conffile > log/ssh.log 2>&1";
|
||||
$rc >>= 8;
|
||||
if($rc) {
|
||||
print STDERR "$sshd exited with $rc!\n";
|
||||
|
|
Loading…
Reference in New Issue