Skip to content

Commit de295ee

Browse files
committed
Do not log anything when list of apps to stop is empty
1 parent 4e94918 commit de295ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rabbit.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ decrypt_list([{Key, Value}|Tail], Algo, Acc) when Key =/= encrypted ->
582582
decrypt_list([Value|Tail], Algo, Acc) ->
583583
decrypt_list(Tail, Algo, [decrypt(Value, Algo)|Acc]).
584584

585+
stop_apps([]) ->
586+
ok;
585587
stop_apps(Apps) ->
586588
rabbit_log:info(
587589
lists:flatten(["Stopping RabbitMQ applications and their dependencies in the following order:~n",

0 commit comments

Comments
 (0)