diff --git a/launcher-package/src/universal/bin/sbt.bat b/launcher-package/src/universal/bin/sbt.bat index 78ae0ad9e..c8825a700 100755 --- a/launcher-package/src/universal/bin/sbt.bat +++ b/launcher-package/src/universal/bin/sbt.bat @@ -628,8 +628,7 @@ if !sbt_args_print_version! equ 1 ( echo. echo [info] sbt runner (sbt-the-batch-script) is a runner to run any declared version of sbt. echo [info] Actual version of the sbt is declared using project\build.properties for each build. - @endlocal - exit /B 0 + goto :end ) if !run_native_client! equ 1 (