* src/ejabberdctl.template: Small fix so arguments of the command

are also passed to erl

SVN Revision: 1447
This commit is contained in:
Badlop 2008-07-15 21:43:22 +00:00
parent 6c0f497281
commit 0b3f830188
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-07-15 Badlop <badlop@process-one.net>
* 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

View File

@ -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) :;;