Skip to content

Commit 4c3175c

Browse files
committed
Fixes #1735: Improve error reporting in rabbitmqctl.bat
1 parent 2a61385 commit 4c3175c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/rabbitmqctl.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,9 @@ if not defined ERL_CRASH_DUMP_SECONDS (
5858
-escript main rabbitmqctl_escript ^
5959
-extra "%RABBITMQ_HOME%\escript\rabbitmqctl" !STAR!
6060

61+
if ERRORLEVEL 1 (
62+
EXIT /B 1
63+
)
64+
6165
endlocal
6266
endlocal

0 commit comments

Comments
 (0)