You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/02/18 19:50:46 UTC
[maven] 01/01: [MNG-7197] Simplify exit code handling in Windows command startup script
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch MNG-7197_maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 67346705f03ee0db2840631d9fbc9de62c59f5e8
Author: Michael Osipov <mi...@apache.org>
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 3d2512b2d..065f3c31e 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -199,4 +199,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%