mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Allow password with ';' passed in ejabberdctl (#599)
This commit is contained in:
parent
e608274243
commit
3c47a5bb75
@ -405,7 +405,7 @@ ctl()
|
|||||||
ctlexec()
|
ctlexec()
|
||||||
{
|
{
|
||||||
CONN_NAME=$1; shift
|
CONN_NAME=$1; shift
|
||||||
COMMAND=$@
|
COMMAND=$(echo $@ | sed 's/;/\\;/')
|
||||||
$EXEC_CMD "$ERL \
|
$EXEC_CMD "$ERL \
|
||||||
$NAME ${CONN_NAME} \
|
$NAME ${CONN_NAME} \
|
||||||
-noinput \
|
-noinput \
|
||||||
|
Loading…
Reference in New Issue
Block a user