]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
secureserver.pl: follow up fix for 87ade5f
authorMarc Hoersken <info@marc-hoersken.de>
Mon, 13 Jan 2014 20:43:41 +0000 (21:43 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Mon, 13 Jan 2014 20:43:41 +0000 (21:43 +0100)
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.

tests/secureserver.pl

index 37a39571065ba723473a991d8e49a9ece7db940f..863b6d78a5d6ac85857108bfebe68bf7face656c 100755 (executable)
@@ -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";
         }