diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-06-17 09:59:09 +0300 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-06-17 09:59:09 +0300 |
commit | 3c47a5bb7504213eca4e86610d3adcc8f893110f (patch) | |
tree | ade848ab9edd6b0ecebc85f411b8173e5682fbd3 /ejabberdctl.template | |
parent | e6082742435bc18392aea785a3e9b667fce689c0 (diff) |
Allow password with ';' passed in ejabberdctl (#599)
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index 3b3461bbd..095653e1b 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -405,7 +405,7 @@ ctl() ctlexec() { CONN_NAME=$1; shift - COMMAND=$@ + COMMAND=$(echo $@ | sed 's/;/\\;/') $EXEC_CMD "$ERL \ $NAME ${CONN_NAME} \ -noinput \ |