summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-10-29 09:50:37 +0000
committerMatthias Radestock <matthias@lshift.net>2009-10-29 09:50:37 +0000
commitb9148ec7faa0896c771d789469ac0dab3d7fd627 (patch)
tree0b20ad12f5c1515cb7c8c0893e51a389b48a94fb /scripts
parentc41b387fef3148b44c3687317cb99663a3f8577f (diff)
downloadrabbitmq-server-b9148ec7faa0896c771d789469ac0dab3d7fd627.tar.gz
missed onebug21789
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rabbitmqctl.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rabbitmqctl.bat b/scripts/rabbitmqctl.bat
index 8a4e5445..512e8587 100755
--- a/scripts/rabbitmqctl.bat
+++ b/scripts/rabbitmqctl.bat
@@ -30,6 +30,8 @@ REM
REM Contributor(s): ______________________________________.
REM
+setlocal
+
if "%RABBITMQ_NODENAME%"=="" (
set RABBITMQ_NODENAME=rabbit
)
@@ -47,3 +49,5 @@ if not exist "%ERLANG_HOME%\bin\erl.exe" (
)
"%ERLANG_HOME%\bin\erl.exe" -pa "%~dp0..\ebin" -noinput -hidden %RABBITMQ_CTL_ERL_ARGS% -sname rabbitmqctl -s rabbit_control -nodename %RABBITMQ_NODENAME% -extra %*
+
+endlocal