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:
parent
ef02053a9d
commit
f19a54e9a1
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user