Repository: maven
Updated Branches:
  refs/heads/MNG-5815 [created] 90eadc3f1


[MNG-5815] "mvn.cmd" does not indicate failure properly when using "&&"


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/90eadc3f
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/90eadc3f
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/90eadc3f

Branch: refs/heads/MNG-5815
Commit: 90eadc3f1a30241ad5f7e64cc0c94cf814e78854
Parents: 065281c
Author: Michael Osipov <[email protected]>
Authored: Wed May 11 11:47:14 2016 +0200
Committer: Michael Osipov <[email protected]>
Committed: Sun Jan 29 18:40:50 2017 +0100

----------------------------------------------------------------------
 apache-maven/src/bin/mvn.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/90eadc3f/apache-maven/src/bin/mvn.cmd
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index 3f170c3..2321b9c 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -154,4 +154,4 @@ if "%MAVEN_BATCH_PAUSE%" == "on" pause
 
 if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
 
-exit /B %ERROR_CODE%
+cmd /C exit /B %ERROR_CODE%

Reply via email to