1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Don't launch sshd as a daemon so its output can be logged.

This commit is contained in:
Dan Fandrich 2007-03-28 04:05:55 +00:00
parent 45b2577974
commit 884171aecf

View File

@ -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";