I save the script below as a BAT file in "EXE" folder of probe, and then I setup EXE/SCRIPT sensor. Why it is still return "OK"? Thanks.
IF "2" EQU "2" ( ECHO 2:ERROR EXIT /b 2 ) ELSE ( ECHO 0:OK EXIT /b 0 )
Votes:
I save the script below as a BAT file in "EXE" folder of probe, and then I setup EXE/SCRIPT sensor. Why it is still return "OK"? Thanks.
IF "2" EQU "2" ( ECHO 2:ERROR EXIT /b 2 ) ELSE ( ECHO 0:OK EXIT /b 0 )
2 Replies
Add comment