From 6faeb46c9ec2bfdf638689b3a3f93b1d8d9ebf30 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Thu, 10 Jul 2008 03:58:59 +0000 Subject: [PATCH] [MNG-3651] Fixing exit code for windows. Submitted by: Napoleon Esmundo C. Ramirez git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@675432 13f79535-47bb-0310-9956-ffa450edef68 --- maven-distribution/src/bin/mvn.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-distribution/src/bin/mvn.bat b/maven-distribution/src/bin/mvn.bat index 354ad2e62b..5262dc5e2a 100644 --- a/maven-distribution/src/bin/mvn.bat +++ b/maven-distribution/src/bin/mvn.bat @@ -184,6 +184,6 @@ if "%MAVEN_BATCH_PAUSE%" == "on" pause if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% -exit /B %ERROR_CODE% +cmd /C exit /B %ERROR_CODE%