summaryrefslogtreecommitdiff
path: root/src/rabbit_upgrade.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-02-14 13:59:39 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-02-14 13:59:39 +0000
commit650217882d88c150663e17b8e5a9a8ce4f59f9a4 (patch)
tree6bc6279d36892a90d1e0b283e43f008a68a8910e /src/rabbit_upgrade.erl
parent1c45e13da167b1cc01992521089efda440d29f65 (diff)
downloadrabbitmq-server-650217882d88c150663e17b8e5a9a8ce4f59f9a4.tar.gz
inlining
Diffstat (limited to 'src/rabbit_upgrade.erl')
-rw-r--r--src/rabbit_upgrade.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_upgrade.erl b/src/rabbit_upgrade.erl
index bd3e829c..c8d2ae87 100644
--- a/src/rabbit_upgrade.erl
+++ b/src/rabbit_upgrade.erl
@@ -66,8 +66,7 @@ maybe_upgrade_mnesia() ->
end.
am_i_upgrader(Nodes) ->
- Running = nodes_running(Nodes),
- case Running of
+ case nodes_running(Nodes) of
[] ->
case am_i_disc_node() of
true -> true;