From 979edf64dd15a20a41eebdeaf2a33f1c36a314e0 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 14 Apr 2008 11:15:48 +0000
Subject: [PATCH] Fix for issue 3131 (Windows: upgrade using the webinstaller should not hang)

---
 opendj-sdk/opends/resource/bin/start-ds.bat |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/resource/bin/start-ds.bat b/opendj-sdk/opends/resource/bin/start-ds.bat
index cc6fd24..3ea5c91 100644
--- a/opendj-sdk/opends/resource/bin/start-ds.bat
+++ b/opendj-sdk/opends/resource/bin/start-ds.bat
@@ -41,7 +41,7 @@
 rem Set environment variables
 set SCRIPT_UTIL_CMD=set-full-environment-and-test-java
 call "%INSTANCE_ROOT%\lib\_script-util.bat"
-if NOT %errorlevel% == 0 exit /B %errorlevel%
+if NOT %errorlevel% == 0 exit %errorlevel%
 
 echo %SCRIPT%: CLASSPATH=%CLASSPATH% >> %LOG%
 
@@ -112,11 +112,11 @@
 
 :serverStarted
 echo %SCRIPT%: finished >> %LOG%
-exit /B 0
+exit 0
 
 :serverNotStarted
 echo %SCRIPT%: finished >> %LOG%
-exit /B 1
+exit 1
 
 
 :end

--
Gitblit v1.10.0