24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Allow password with ';' passed in ejabberdctl (#599)

This commit is contained in:
Christophe Romain 2015-06-17 08:59:09 +02:00
parent e608274243
commit 3c47a5bb75

View File

@ -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 \