use /b option with the EXIT command

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-03-21 13:49:20 +00:00
parent 1789c1c602
commit 92de7654e9

View File

@ -19,10 +19,10 @@ for /d %%x in (*) do @(
)
REM exit with code 1 if any of the test failed
if %failure% EQU 1 exit 1
if %failure% EQU 1 exit /b 1
REM remove the failure env var:
set failure=
REM exit with code 0 (all tests passed successfully)
exit 0
exit /b 0