From c22d1e405aa881f5bb01085f8a1784bb3af174ac Mon Sep 17 00:00:00 2001 From: "David N. Welton" Date: Thu, 17 Jul 2014 15:15:27 +0200 Subject: Get tick time in order to 'synchronize' with the node we are connecting with. Having a different net_ticktime than the remote node will lead to odd shell crashes. Fixes #209 --- priv/templates/nodetool.dtl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv/templates/nodetool.dtl') diff --git a/priv/templates/nodetool.dtl b/priv/templates/nodetool.dtl index 80f1965..2f46395 100644 --- a/priv/templates/nodetool.dtl +++ b/priv/templates/nodetool.dtl @@ -42,7 +42,7 @@ main(Args) -> _ -> halt(1) end; - ["rpcterms", Module, Function, ArgsAsString] -> + ["rpcterms", Module, Function | ArgsAsString] -> case rpc:call(TargetNode, list_to_atom(Module), list_to_atom(Function), consult(ArgsAsString), 60000) of {badrpc, Reason} -> -- cgit v1.2.3