Skip to content

Commit 5d8ba2f

Browse files
Fix one more issue reported by CLI tools Dialyzer
1 parent 509ed5b commit 5d8ba2f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deps/rabbitmq_cli/lib/rabbitmqctl.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ defmodule RabbitMQCtl do
237237
end
238238
end
239239

240+
@spec handle_shutdown(:ok) :: no_return()
241+
defp handle_shutdown(:ok) do
242+
exit_program(0)
243+
end
244+
240245
@spec handle_shutdown({:error, integer(), nil}) :: no_return()
241246
defp handle_shutdown({:error, exit_code, nil}) do
242247
exit_program(exit_code)

0 commit comments

Comments
 (0)