Skip to content

Commit

Permalink
[MNG-7197] Simplify exit code handling in Windows command startup script
Browse files Browse the repository at this point in the history
This closes #1002
  • Loading branch information
michael-o committed Feb 18, 2023
1 parent 5c03151 commit d706656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache-maven/src/bin/mvn.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@ if "%MAVEN_BATCH_PAUSE%"=="on" pause

if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%

cmd /C exit /B %ERROR_CODE%
exit /b %ERROR_CODE%

0 comments on commit d706656

Please sign in to comment.