We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509ed5b commit 5d8ba2fCopy full SHA for 5d8ba2f
deps/rabbitmq_cli/lib/rabbitmqctl.ex
@@ -237,6 +237,11 @@ defmodule RabbitMQCtl do
237
end
238
239
240
+ @spec handle_shutdown(:ok) :: no_return()
241
+ defp handle_shutdown(:ok) do
242
+ exit_program(0)
243
+ end
244
+
245
@spec handle_shutdown({:error, integer(), nil}) :: no_return()
246
defp handle_shutdown({:error, exit_code, nil}) do
247
exit_program(exit_code)
0 commit comments