25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +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} \
-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"
}