summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-23 15:30:09 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-23 15:30:09 +0100
commit9bc2c057e586e917264a696e18ce6f0c11ef27e1 (patch)
tree1ef94397c5bf53c0f526347da007a0a28265dfe5
parentd6bbdb17df9fb0aadd149b1f1423bb8ef3fb1e6f (diff)
downloadrabbitmq-server-9bc2c057e586e917264a696e18ce6f0c11ef27e1.tar.gz
Cosmetic
-rw-r--r--src/rabbit_control_main.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index c9734314..b85cf8c0 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -473,9 +473,9 @@ wait_for_startup(Node, Pid) ->
while_process_is_alive(Node, Pid, Activity) ->
case process_up(Pid) of
true -> case Activity() of
- true -> ok;
- _Other -> timer:sleep(?EXTERNAL_CHECK_INTERVAL),
- while_process_is_alive(Node, Pid, Activity)
+ true -> ok;
+ _Other -> timer:sleep(?EXTERNAL_CHECK_INTERVAL),
+ while_process_is_alive(Node, Pid, Activity)
end;
false -> {error, process_not_running}
end.