Commit 884171ae authored by Dan Fandrich's avatar Dan Fandrich
Browse files

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

parent 45b25779
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";