This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch maven-3.8.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.8.x by this push:
new d706656bf [MNG-7197] Simplify exit code handling in Windows command
startup script
d706656bf is described below
commit d706656bf655b2b32eb0bbea5a71313c5a6008cf
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Jul 25 14:55:39 2021 +0200
[MNG-7197] Simplify exit code handling in Windows command startup script
This closes #1002
---
apache-maven/src/bin/mvn.cmd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index 8ad61853d..6988f5c00 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -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%