From b9148ec7faa0896c771d789469ac0dab3d7fd627 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 29 Oct 2009 09:50:37 +0000 Subject: missed one --- scripts/rabbitmqctl.bat | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1