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 2016/05/11 09:49:15 UTC

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

Repository: maven
Updated Branches:
  refs/heads/master bd03f68ba -> 176cc1264


[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/176cc126
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/176cc126
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/176cc126

Branch: refs/heads/master
Commit: 176cc12649bf53671148a7cc71c251c671df2d10
Parents: bd03f68
Author: Michael Osipov <mi...@apache.org>
Authored: Wed May 11 11:47:14 2016 +0200
Committer: Michael Osipov <mi...@apache.org>
Committed: Wed May 11 11:47:14 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/maven/blob/176cc126/apache-maven/src/bin/mvn.cmd
----------------------------------------------------------------------
diff --git a/apache-maven/src/bin/mvn.cmd b/apache-maven/src/bin/mvn.cmd
index 274b065..c8ad237 100644
--- a/apache-maven/src/bin/mvn.cmd
+++ b/apache-maven/src/bin/mvn.cmd
@@ -149,4 +149,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%