diff options
| -rw-r--r-- | scripts/rabbitmq-diagnostics.bat | 2 | ||||
| -rw-r--r-- | scripts/rabbitmq-plugins.bat | 2 | ||||
| -rw-r--r-- | scripts/rabbitmq-queues.bat | 2 | ||||
| -rw-r--r-- | scripts/rabbitmq-server.bat | 2 | ||||
| -rw-r--r-- | scripts/rabbitmqctl.bat | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/rabbitmq-diagnostics.bat b/scripts/rabbitmq-diagnostics.bat index 1b544208c7..77078389b0 100644 --- a/scripts/rabbitmq-diagnostics.bat +++ b/scripts/rabbitmq-diagnostics.bat @@ -58,7 +58,7 @@ if not defined ERL_CRASH_DUMP_SECONDS ( -extra "%RABBITMQ_HOME%\escript\rabbitmq-diagnostics" !STAR!
if ERRORLEVEL 1 (
- exit /B 1
+ exit /B %ERRORLEVEL%
)
endlocal
diff --git a/scripts/rabbitmq-plugins.bat b/scripts/rabbitmq-plugins.bat index 0cecbcc4dc..e985151e56 100644 --- a/scripts/rabbitmq-plugins.bat +++ b/scripts/rabbitmq-plugins.bat @@ -58,7 +58,7 @@ if not defined ERL_CRASH_DUMP_SECONDS ( -extra "%RABBITMQ_HOME%\escript\rabbitmq-plugins" !STAR!
if ERRORLEVEL 1 (
- exit /B 1
+ exit /B %ERRORLEVEL%
)
endlocal
diff --git a/scripts/rabbitmq-queues.bat b/scripts/rabbitmq-queues.bat index bd2eb390a8..c90a696806 100644 --- a/scripts/rabbitmq-queues.bat +++ b/scripts/rabbitmq-queues.bat @@ -59,7 +59,7 @@ if not defined ERL_CRASH_DUMP_SECONDS ( -extra "%RABBITMQ_HOME%\escript\rabbitmq-queues" !STAR!
if ERRORLEVEL 1 (
- exit /B 1
+ exit /B %ERRORLEVEL%
)
endlocal
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat index 8cda5f3945..440f5802f7 100644 --- a/scripts/rabbitmq-server.bat +++ b/scripts/rabbitmq-server.bat @@ -269,7 +269,7 @@ if "!RABBITMQ_ALLOW_INPUT!"=="" ( !STAR!
if ERRORLEVEL 1 (
- exit /B 1
+ exit /B %ERRORLEVEL%
)
EXIT /B 0
diff --git a/scripts/rabbitmqctl.bat b/scripts/rabbitmqctl.bat index b99dc9c15f..08c1433154 100644 --- a/scripts/rabbitmqctl.bat +++ b/scripts/rabbitmqctl.bat @@ -58,7 +58,7 @@ if not defined ERL_CRASH_DUMP_SECONDS ( -extra "%RABBITMQ_HOME%\escript\rabbitmqctl" !STAR!
if ERRORLEVEL 1 (
- exit /B 1
+ exit /B %ERRORLEVEL%
)
endlocal
|
