Merge pull request #65 from jasonmray/master

Fixing exit code handling
This commit is contained in:
Josh Suereth 2014-04-02 08:44:07 -04:00
commit 0981c0a5e5
1 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,6 @@
@echo off
set SBT_HOME=%~dp0
set ERROR_CODE=0
rem FIRST we load the config file of extra options.
set FN=%SBT_HOME%\..\conf\sbtconfig.txt
@ -45,10 +44,10 @@ if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
@endlocal
exit /B 1
:end
@endlocal
exit /B %ERROR_CODE%
exit /B 0