mirror of
https://github.com/curl/curl.git
synced 2026-07-24 09:37:25 +03:00
Don't launch sshd as a daemon so its output can be logged.
This commit is contained in:
parent
45b2577974
commit
884171aecf
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue