summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-10-02 13:39:06 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-10-02 13:39:06 +0100
commit41a3896a48ef3cb3a9f6b7c950bec2f2929c12ba (patch)
tree52cda31f469a983bcc7ea031de4fd3908d422ba8 /src
parentfcee57b131d64ba96d44add15409e087b53496de (diff)
downloadrabbitmq-server-git-41a3896a48ef3cb3a9f6b7c950bec2f2929c12ba.tar.gz
Don't let the GM hang around. We exit(normal) it rather than tell it to leave/1 since it really shouldn't be there, we want it to stop ASAP.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_slave.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index b4b0d4d34f..6f4a7ee735 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -143,6 +143,7 @@ init(#amqqueue { name = QueueName } = Q) ->
duplicate_live_master ->
{stop, {duplicate_live_master, Node}};
existing ->
+ exit(GM, normal),
ignore
end.