Current SA Version = 4.1.1567
I've written a batch script that performs some functions, then returns an error level based on the results of those functions. When I run this script from the command line I can verify that the errorlevel it is returning is "5". When I run it as an external errorlevel check in SA, SA reports an errorlevel of 0. Here is how to reproduce the problem:
1. Create the following files:
is_it_alive.bat ------------------------------- exit /B 5
test.bat ------------------------------- @echo off call is_it_alive.bat echo. echo ERRORLEVEL = "%ERRORLEVEL%" echo. pause
2. Run test.bat to verify that the errorlevel is_it_alive.bat is returning is in fact 5.
3. Create an external errorlevel check in ServersAlive and point to is_it_alive.bat. ServersAlive always seems to report an errorlevel of 0.
I am currently downloading the latest release, but didn't see anything on the beta page that indicates this is a known problem that has been fixed. This _did_ work before upgrading to v4.1.
Nate
--- [This E-mail scanned for viruses by Declude Virus]
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive