[stunnel-users] Stunnel Return Codes - How do I see them in a batch file?

Robert Lambrecht robert_lambrecht at hotmail.com
Wed Oct 10 04:42:00 CEST 2007


I have Stunnel working successfully in a batch file.  I would like to write
the error codes in case there is an issue.  How do you do this?

 

In Windows, I could do something like:

 

"C:\Program Files\stunnel\stunnel.exe" -start -quiet stunnel.conf

goto %errorlevel%

 

:0

:: Normal Return - Complete Batch Process

goto :EOF

 

:1

:: Errors - Log them

 

Would this work or how do I get the stunnel return codes?

 

Bob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20071009/281458a4/attachment.html>


More information about the stunnel-users mailing list