diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index 70e17b413..ec916b32b 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -80,7 +80,7 @@ start() -> end end, Node = list_to_atom(SNode1), - Status = case ejabberd_cluster:call(Node, ?MODULE, process, [Args]) of + Status = case rpc:call(Node, ?MODULE, process, [Args], 60000) of {badrpc, Reason} -> print("Failed RPC connection to the node ~p: ~p~n", [Node, Reason]),