diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2012-05-29 15:48:15 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2012-05-29 15:48:15 +0100 |
| commit | 3a9bf6e98b45eed8b19d6477414b61a077252a56 (patch) | |
| tree | d7321befcc0442036d5fb5048781442bdfcc49c5 /src | |
| parent | 493de1c28e196038fce63218fe4db90d32acc08f (diff) | |
| download | rabbitmq-server-git-3a9bf6e98b45eed8b19d6477414b61a077252a56.tar.gz | |
This can only be true or false. Plus cosmetic.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_control_main.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl index b85cf8c0f8..1bd8993377 100644 --- a/src/rabbit_control_main.erl +++ b/src/rabbit_control_main.erl @@ -472,11 +472,11 @@ 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) - end; + true -> case Activity() of + true -> ok; + false -> timer:sleep(?EXTERNAL_CHECK_INTERVAL), + while_process_is_alive(Node, Pid, Activity) + end; false -> {error, process_not_running} end. |
