diff options
| -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. |
