Skip to content

Commit a80dac7

Browse files
author
Daniil Fedotov
committed
Fix typo in RABBITMQ_LOGS environment setup
The typo caused `-` configuration to be treated as a file name, not tty logging, like it should be. Fixes #1348 [#150808117]
1 parent 0527df3 commit a80dac7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/rabbitmq-env.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ if "!RABBITMQ_LOGS!"=="" (
289289
set RABBITMQ_LOGS=!LOGS!
290290
)
291291
)
292-
if not "!RABBITMQ_LOGS" == "-" (
292+
if not "!RABBITMQ_LOGS!" == "-" (
293293
if not exist "!RABBITMQ_LOGS!" (
294294
for /f "delims=" %%F in ("!RABBITMQ_LOGS!") do mkdir %%~dpF 2>NUL
295295
copy /y NUL "!RABBITMQ_LOGS!" >NUL
@@ -306,7 +306,7 @@ if "!RABBITMQ_SASL_LOGS!"=="" (
306306
set RABBITMQ_SASL_LOGS=!SASL_LOGS!
307307
)
308308
)
309-
if not "!RABBITMQ_SASL_LOGS" == "-" (
309+
if not "!RABBITMQ_SASL_LOGS!" == "-" (
310310
if not exist "!RABBITMQ_SASL_LOGS!" (
311311
for /f "delims=" %%F in ("!RABBITMQ_SASL_LOGS!") do mkdir %%~dpF 2>NUL
312312
copy /y NUL "!RABBITMQ_SASL_LOGS!" >NUL

0 commit comments

Comments
 (0)