We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff0fd23 + 21a7573 commit f1c720fCopy full SHA for f1c720f
scripts/rabbitmq-echopid.bat
@@ -10,9 +10,9 @@ set TDP0=%~dp0
10
11
REM Get default settings with user overrides for (RABBITMQ_)<var_name>
12
REM Non-empty defaults should be set in rabbitmq-env
13
-call "!TDP0!\rabbitmq-env.bat" %~n0
+call "%TDP0%\rabbitmq-env.bat" %~n0
14
15
-if "%1"=="" goto fail
+if "%1"=="" goto argfail
16
17
:: set timeout vars ::
18
set TIMEOUT=10
@@ -47,9 +47,11 @@ echo %PID%
47
endlocal
48
EXIT /B 0
49
50
+:: argument is required ::
51
+:argfail
52
+echo Please provide your RabbitMQ node name as the argument to this script.
53
+
54
:: something went wrong ::
55
:fail
56
57
EXIT /B 1
-
0 commit comments