Skip to content

Commit

Permalink
Allow password with ';' passed in ejabberdctl (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Romain committed Jun 17, 2015
1 parent e608274 commit 3c47a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ejabberdctl.template
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ ctl()
ctlexec()
{
CONN_NAME=$1; shift
COMMAND=$@
COMMAND=$(echo $@ | sed 's/;/\\;/')
$EXEC_CMD "$ERL \
$NAME ${CONN_NAME} \
-noinput \
Expand Down

0 comments on commit 3c47a5b

Please sign in to comment.