Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-06-17 09:59:09 +0300
committerChristophe Romain <christophe.romain@process-one.net>2015-06-17 09:59:09 +0300
commit3c47a5bb7504213eca4e86610d3adcc8f893110f (patch)
treeade848ab9edd6b0ecebc85f411b8173e5682fbd3 /ejabberdctl.template
parente6082742435bc18392aea785a3e9b667fce689c0 (diff)
Allow password with ';' passed in ejabberdctl (#599)
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template2
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 \