From 383f64abba9798dc3e5a6485b27a4a999b77015c Mon Sep 17 00:00:00 2001 From: jvergara <jvergara@localhost> Date: Thu, 22 Feb 2007 22:12:51 +0000 Subject: [PATCH] This fixes a bug when the user provides only one parameter (-R or --restart). --- opends/resource/bin/stop-ds.bat | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/opends/resource/bin/stop-ds.bat b/opends/resource/bin/stop-ds.bat index 3543f22..430d4ea 100644 --- a/opends/resource/bin/stop-ds.bat +++ b/opends/resource/bin/stop-ds.bat @@ -51,6 +51,8 @@ goto testParameter2 :testParameter2 +if "%2" == "" set NO_ARG_OR_ONLY_RESTART=1 +if "%NO_ARG_OR_ONLY_RESTART%" == "1" goto execute if not "%2" == "-R" goto testParameter2b goto testParameter3 -- Gitblit v1.10.0