From 884171aecf890057e5700221e15a3cf711dc7e9e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 28 Mar 2007 04:05:55 +0000 Subject: [PATCH] Don't launch sshd as a daemon so its output can be logged. --- tests/sshserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 83fdbc7af..98e15d124 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -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";