aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-01-27 18:18:38 -0600
committerTristan Sloughter <[email protected]>2015-01-27 18:18:38 -0600
commit941444eaf25f25b22c844e2d462838de1b3469ad (patch)
treeafb5cc249d46fddd585d41b7ef132d8ce99978f0 /priv/templates
parent9fc9a2f6556d8e86633c87a29db7dc9419005c48 (diff)
downloadrelx-941444eaf25f25b22c844e2d462838de1b3469ad.tar.gz
relx-941444eaf25f25b22c844e2d462838de1b3469ad.tar.bz2
relx-941444eaf25f25b22c844e2d462838de1b3469ad.zip
treat rpcterm args as a string not a list of elements
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/nodetool.dtl2
1 files changed, 1 insertions, 1 deletions
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} ->