diff options
author | Tristan Sloughter <[email protected]> | 2015-01-27 18:18:38 -0600 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2015-01-27 18:18:38 -0600 |
commit | 941444eaf25f25b22c844e2d462838de1b3469ad (patch) | |
tree | afb5cc249d46fddd585d41b7ef132d8ce99978f0 /priv/templates | |
parent | 9fc9a2f6556d8e86633c87a29db7dc9419005c48 (diff) | |
download | relx-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.dtl | 2 |
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} -> |