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
1 changed files with 1 additions and 1 deletions

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