From 941444eaf25f25b22c844e2d462838de1b3469ad Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 27 Jan 2015 18:18:38 -0600 Subject: treat rpcterm args as a string not a list of elements --- priv/templates/nodetool.dtl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv/templates') diff --git a/priv/templates/nodetool.dtl b/priv/templates/nodetool.dtl index 2f46395..80f1965 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