From fe586467ecbd63791001e7a6ddf8f18d4fac19b8 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Wed, 11 May 2016 11:47:14 +0200 Subject: [PATCH] [MNG-5815] "mvn.cmd" does not indicate failure properly when using "&&" --- 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 3f170c377a..2321b9c3b0 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%