[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/fe586467 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/fe586467 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/fe586467 Branch: refs/heads/MNG-2199-IT Commit: fe586467ecbd63791001e7a6ddf8f18d4fac19b8 Parents: ca43030 Author: Michael Osipov <micha...@apache.org> Authored: Wed May 11 11:47:14 2016 +0200 Committer: Michael Osipov <micha...@apache.org> Committed: Sun Jan 29 21:51:20 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/fe586467/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%