CLI: squash a Dialyzer warning
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
bd3b44aab9
commit
449ab048e6
|
|
@ -28,7 +28,7 @@ defmodule RabbitMQCtl do
|
|||
def main(["--auto-complete" | []]) do
|
||||
# silence Erlang/OTP's standard library warnings, it's acceptable for CLI tools,
|
||||
# see rabbitmq/rabbitmq-server#8912
|
||||
:logger.set_primary_config(:level, :error)
|
||||
_ = :logger.set_primary_config(:level, :error)
|
||||
|
||||
handle_shutdown(:ok)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue