Skip to content

Commit 3fae909

Browse files
author
Matthew Sackman
committed
Ooops.
1 parent 584e30e commit 3fae909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_upgrade.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ die(Msg, Args) ->
196196
io:format(Str),
197197
error_logger:logfile(close),
198198
case application:get_env(rabbit, halt_on_upgrade_failure) of
199-
false -> throw({upgrade_error, Str});
200-
_ -> halt(1) %% i.e. true or undefined
199+
{ok, false} -> throw({upgrade_error, Str});
200+
_ -> halt(1) %% i.e. true or undefined
201201
end.
202202

203203
primary_upgrade(Upgrades, Nodes) ->

0 commit comments

Comments
 (0)