Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2016-03-18 12:22:11 +0300
committerChristophe Romain <christophe.romain@process-one.net>2016-03-18 12:22:11 +0300
commitf19a54e9a12d49e295cdc86ad79b32bc95b31285 (patch)
treea0dc794f7aa2d7737f194d5790fe51635d213c07 /ejabberdctl.template
parentef02053a9ddf057a1c76da3409f2218c1d778b13 (diff)
Escape quoting node name for ejabberdctl ping
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template2
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"
}