Skip to content

Commit 3cb28d2

Browse files
committed
Improve error reporting in rabbitmq-diagnostics.bat
1 parent 5facb09 commit 3cb28d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/rabbitmq-diagnostics.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\rabbitmq-diagnostics" !STAR!
6060

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

0 commit comments

Comments
 (0)