diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rabbitmq-server.bat | 2 | ||||
| -rw-r--r-- | scripts/rabbitmq-service.bat | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat index 1fa8373f8e..16336aee8a 100644 --- a/scripts/rabbitmq-server.bat +++ b/scripts/rabbitmq-server.bat @@ -144,7 +144,7 @@ if "!ENV_OK!"=="false" ( EXIT /B 0
:check_not_empty
-if %2=="" (
+if "%~2"=="" (
ECHO "Error: ENV variable should be defined: %1. Please check rabbitmq-env and rabbitmq-defaults, and !RABBITMQ_CONF_ENV_FILE! script files. Check also your Environment Variables settings"
set ENV_OK=false
EXIT /B 78
diff --git a/scripts/rabbitmq-service.bat b/scripts/rabbitmq-service.bat index a7ef439b65..af6fb3319e 100644 --- a/scripts/rabbitmq-service.bat +++ b/scripts/rabbitmq-service.bat @@ -226,7 +226,7 @@ goto END EXIT /B 0
:check_not_empty
-if %2=="" (
+if "%~2"=="" (
ECHO "Error: ENV variable should be defined: %1. Please check rabbitmq-env, rabbitmq-default, and !RABBITMQ_CONF_ENV_FILE! script files. Check also your Environment Variables settings"
set ENV_OK=false
EXIT /B 78
|
