summaryrefslogtreecommitdiff
path: root/src
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
commit3fae9099235e12a5aba7bbdd78d11606fe3767f6 (patch)
tree537aef66778e9bde5457c3caec2301d890a710a8 /src
parent584e30e1612b797edc70a9a2e74f408a24e004ef (diff)
downloadrabbitmq-server-git-3fae9099235e12a5aba7bbdd78d11606fe3767f6.tar.gz
Ooops.
Diffstat (limited to 'src')
-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 44a1fe0d02..c1f142d7da 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) ->