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:
@@ -252,10 +252,10 @@ if($stunnel_version >= 400) {
|
|||||||
CApath = $path
|
CApath = $path
|
||||||
cert = $certfile
|
cert = $certfile
|
||||||
debug = $loglevel
|
debug = $loglevel
|
||||||
output = /dev/stdout
|
|
||||||
socket = $socketopt";
|
socket = $socketopt";
|
||||||
if($stunnel !~ /tstunnel(\.exe)?"?$/) {
|
if($stunnel !~ /tstunnel(\.exe)?"?$/) {
|
||||||
print STUNCONF "
|
print STUNCONF "
|
||||||
|
output = $logfile
|
||||||
pid = $pidfile
|
pid = $pidfile
|
||||||
foreground = yes";
|
foreground = yes";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user