[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/slf4j-gossip Commit: 176cc12649bf53671148a7cc71c251c671df2d10 Parents: bd03f68 Author: Michael Osipov <micha...@apache.org> Authored: Wed May 11 11:47:14 2016 +0200 Committer: Michael Osipov <micha...@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%