summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2008-07-15 21:43:22 +0000
committerBadlop <badlop@process-one.net>2008-07-15 21:43:22 +0000
commit0b3f83018888f49b1ef804c1a765dda1db906d57 (patch)
tree3af0add15a861fdcb1fe212f10bfd6e33da6c4d3
parent* doc/guide.tex: Improve explanation of option 'hosts' in (diff)
* src/ejabberdctl.template: Small fix so arguments of the command
are also passed to erl SVN Revision: 1447
-rw-r--r--ChangeLog3
-rw-r--r--src/ejabberdctl.template3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d95293f..7d7debc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template
index fcf0a80c..0099f9df 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) :;;