diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-03-18 10:22:11 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-03-18 10:22:11 +0100 |
commit | f19a54e9a12d49e295cdc86ad79b32bc95b31285 (patch) | |
tree | a0dc794f7aa2d7737f194d5790fe51635d213c07 | |
parent | Fix issue #1015 (diff) |
Escape quoting node name for ejabberdctl ping
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index aa9c2eb8..3f74da69 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -332,7 +332,7 @@ ping() $NAME ping-${TTY}-${ERLANG_NODE} \ -hidden \ $KERNEL_OPTS $ERLANG_OPTS \ - -eval 'io:format(\"~p~n\",[net_adm:ping($1)])' \ + -eval 'io:format(\"~p~n\",[net_adm:ping('\"'\"'$1'\"'\"')])' \ -s erlang halt -output text -noinput" } |