summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-01-22 13:18:06 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-01-22 13:18:06 +0000
commite358fd8606effd7a50f2a4e4eb0b6c72cdf179cb (patch)
tree9ec35f58961b8d9ad6c68dca3a905329d4897216
parent7bf93988718f7bded8fb50c41e1cb95d0d40ed36 (diff)
downloadrabbitmq-server-e358fd8606effd7a50f2a4e4eb0b6c72cdf179cb.tar.gz
Daaaaaamn.
-rw-r--r--src/rabbit_mnesia.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index a3f701d9..6ed2615d 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -137,7 +137,7 @@ init_from_config({TryNodes0, NodeType} = Config) ->
{ok, {_, DiscNodes, _}} ->
init_db_and_upgrade(DiscNodes, NodeType, true),
rabbit_node_monitor:notify_joined_cluster();
- {error, tables_not_present} when First < node() andalso
+ {error, tables_not_present} when node() < First andalso
NodeType =:= disc ->
%% We came up simultaneously with some other virgin nodes which
%% also wanted to cluster with us. Exactly one of these nodes