diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-03-18 12:22:11 +0300 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-03-18 12:22:11 +0300 |
commit | f19a54e9a12d49e295cdc86ad79b32bc95b31285 (patch) | |
tree | a0dc794f7aa2d7737f194d5790fe51635d213c07 /ejabberdctl.template | |
parent | ef02053a9ddf057a1c76da3409f2218c1d778b13 (diff) |
Escape quoting node name for ejabberdctl ping
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index aa9c2eb81..3f74da695 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" } |