mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Allow several ';' passed in commands (#599)
This commit is contained in:
parent
36a96ae3f5
commit
4dc23a5d81
@ -405,7 +405,7 @@ ctl()
|
||||
ctlexec()
|
||||
{
|
||||
CONN_NAME=$1; shift
|
||||
COMMAND=$(echo $@ | sed 's/;/\\;/')
|
||||
COMMAND=$(echo $@ | sed 's/;/\\;/g')
|
||||
$EXEC_CMD "$ERL \
|
||||
$NAME ${CONN_NAME} \
|
||||
-noinput \
|
||||
|
Loading…
Reference in New Issue
Block a user