Allow several ';' passed in commands (#599)

This commit is contained in:
Christophe Romain 2015-06-18 14:59:00 +02:00
parent 36a96ae3f5
commit 4dc23a5d81
1 changed files with 1 additions and 1 deletions

View File

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