Browse Source

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 10 years ago
parent
commit
2d15958711
1 changed files with 1 additions and 1 deletions
  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";
         }