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
1 changed files with 1 additions and 1 deletions

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"
}