25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* 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> 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 * doc/guide.tex: Improve explanation of option 'hosts' in
ejabberd_service ejabberd_service
* doc/guide.html: Likewise * doc/guide.html: Likewise

View File

@ -166,11 +166,12 @@ live ()
# common control function # common control function
ctl () ctl ()
{ {
COMMAND=$@
$EXEC_CMD "$ERL \ $EXEC_CMD "$ERL \
$NAME ejabberdctl \ $NAME ejabberdctl \
-noinput \ -noinput \
-pa $BEAMDIR \ -pa $BEAMDIR \
-s ejabberd_ctl -extra $ERLANG_NODE $@" -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND"
result=$? result=$?
case $result in case $result in
0) :;; 0) :;;