summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2013-11-28 17:20:56 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2013-11-28 17:20:56 +0000
commit4883b6e6a4fa9fb757d0f8ed8b0220bae1e34bed (patch)
tree537aef66778e9bde5457c3caec2301d890a710a8
parent2f507c70d7d5c45690b9209864e36b750f7bd569 (diff)
downloadrabbitmq-server-bug25901.tar.gz
Ooops.bug25901
-rw-r--r--src/rabbit_upgrade.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl
index 44a1fe0d..c1f142d7 100644
--- a/src/rabbit_upgrade.erl
+++ b/src/rabbit_upgrade.erl
@@ -196,8 +196,8 @@ die(Msg, Args) ->
io:format(Str),
error_logger:logfile(close),
case application:get_env(rabbit, halt_on_upgrade_failure) of
- false -> throw({upgrade_error, Str});
- _ -> halt(1) %% i.e. true or undefined
+ {ok, false} -> throw({upgrade_error, Str});
+ _ -> halt(1) %% i.e. true or undefined
end.
primary_upgrade(Upgrades, Nodes) ->