secureserver.pl: follow up fix for 87ade5f

Since /dev/stdout is not always emulated on Windows,
just skip the output option on Windows.

MinGW/msys support /dev/stdout only from a new login shell.
This commit is contained in:
Marc Hoersken 2014-01-13 21:43:41 +01:00
parent bbc1705fa9
commit 2d15958711
1 changed files with 1 additions and 1 deletions

View File

@ -252,10 +252,10 @@ if($stunnel_version >= 400) {
CApath = $path
cert = $certfile
debug = $loglevel
output = /dev/stdout
socket = $socketopt";
if($stunnel !~ /tstunnel(\.exe)?"?$/) {
print STUNCONF "
output = $logfile
pid = $pidfile
foreground = yes";
}