From: Badlop Date: Tue, 15 Jul 2008 21:43:22 +0000 (+0000) Subject: * src/ejabberdctl.template: Small fix so arguments of the command X-Git-Tag: v2.1.0~18^2~650 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b3f83018888f49b1ef804c1a765dda1db906d57;p=ejabberd * src/ejabberdctl.template: Small fix so arguments of the command are also passed to erl SVN Revision: 1447 --- diff --git a/ChangeLog b/ChangeLog index 9d95293f5..7d7debc4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-07-15 Badlop + * src/ejabberdctl.template: Small fix so arguments of the command + are also passed to erl + * doc/guide.tex: Improve explanation of option 'hosts' in ejabberd_service * doc/guide.html: Likewise diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template index fcf0a80cc..0099f9df5 100644 --- a/src/ejabberdctl.template +++ b/src/ejabberdctl.template @@ -166,11 +166,12 @@ live () # common control function ctl () { + COMMAND=$@ $EXEC_CMD "$ERL \ $NAME ejabberdctl \ -noinput \ -pa $BEAMDIR \ - -s ejabberd_ctl -extra $ERLANG_NODE $@" + -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND" result=$? case $result in 0) :;;