diff --git a/resources/bin/bal b/resources/bin/bal index 39a90a2c..76a03078 100755 --- a/resources/bin/bal +++ b/resources/bin/bal @@ -53,7 +53,6 @@ then else $JAVA_COMMAND -jar $CURRENT_PATH/../lib/ballerina-command-@version@.jar "$@" fi - exit $? if [ "$1" == "update" ] && [ -d "$CURRENT_PATH/../ballerina-command-tmp" ]; then $CURRENT_PATH/../ballerina-command-tmp/install diff --git a/resources/bin/bal.bat b/resources/bin/bal.bat index 4624a3cd..29554a57 100644 --- a/resources/bin/bal.bat +++ b/resources/bin/bal.bat @@ -61,7 +61,6 @@ if "%dist%" == "true" ( ) else ( %JAVA_CMD% -jar %CURRENT_PATH%..\lib\ballerina-command-@version@.jar %* ) - exit /b %errorlevel% if "%update%" == "true" if exist %CURRENT_PATH%..\ballerina-command-tmp ( call %CURRENT_PATH%\..\ballerina-command-tmp\install.bat if %errorlevel% neq 0 (