summaryrefslogtreecommitdiff
path: root/src/rabbit_control.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-01-26 16:39:08 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-01-26 16:39:08 +0000
commit19d9256812c4d8f51d87f96f0dc3c2b04e902d53 (patch)
treedba95b964890055f3fc1a850e9853558633b55ac /src/rabbit_control.erl
parent934688ae55c393bc2ddc693cd1e141e5cd761fa4 (diff)
downloadrabbitmq-server-19d9256812c4d8f51d87f96f0dc3c2b04e902d53.tar.gz
Oops.
Diffstat (limited to 'src/rabbit_control.erl')
-rw-r--r--src/rabbit_control.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl
index 8a19dcfb..a8903102 100644
--- a/src/rabbit_control.erl
+++ b/src/rabbit_control.erl
@@ -305,7 +305,7 @@ action(wait, Node, [], _Opts, Inform) ->
wait_for_application(Node, ?WAIT_FOR_VM_TIMEOUT).
wait_for_application(Node, NodeTimeout) ->
- case call(Node, {application, which_applications, [infinity]}) of
+ case rpc_call(Node, application, which_applications, [infinity]) of
{badrpc, _} = E -> NewTimeout = NodeTimeout - 1000,
case NewTimeout =< 0 of
true -> E;