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

View File

@ -405,7 +405,7 @@ ctl()
ctlexec()
{
CONN_NAME=$1; shift
COMMAND=$@
COMMAND=$(echo $@ | sed 's/;/\\;/')
$EXEC_CMD "$ERL \
$NAME ${CONN_NAME} \
-noinput \