25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Escape quoting node name for ejabberdctl ping

This commit is contained in:
Christophe Romain 2016-03-18 10:22:11 +01:00
parent ef02053a9d
commit f19a54e9a1

View File

@ -332,7 +332,7 @@ ping()
$NAME ping-${TTY}-${ERLANG_NODE} \ $NAME ping-${TTY}-${ERLANG_NODE} \
-hidden \ -hidden \
$KERNEL_OPTS $ERLANG_OPTS \ $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" -s erlang halt -output text -noinput"
} }