summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-10-16 16:48:32 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-10-16 16:48:32 +0100
commit78690e72efb16c5d777af3fab4f16048d2d1a34d (patch)
tree5d2154a40067185c240e7ef54bb1ad306a779c9c /src
parent176f751deceed995322698a3c427adc9010f4fbf (diff)
downloadrabbitmq-server-git-78690e72efb16c5d777af3fab4f16048d2d1a34d.tar.gz
cosmetic
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_misc.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index 8a216494cc..4c8406d9cf 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -161,10 +161,8 @@ add_mirror(QName, MirrorNode) ->
start_child(Name, MirrorNode, Q);
[SPid] ->
case rabbit_misc:is_process_alive(SPid) of
- true ->
- {ok, already_mirrored};
- false ->
- start_child(Name, MirrorNode, Q)
+ true -> {ok, already_mirrored};
+ false -> start_child(Name, MirrorNode, Q)
end
end
end).