Explorar o código

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.
Marc Hoersken %!s(int64=10) %!d(string=hai) anos
pai
achega
2d15958711
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/secureserver.pl

+ 1 - 1
tests/secureserver.pl

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