25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01: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()
{
CONN_NAME=$1; shift
COMMAND=$@
COMMAND=$(echo $@ | sed 's/;/\\;/')
$EXEC_CMD "$ERL \
$NAME ${CONN_NAME} \
-noinput \