]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberdctl.template: Small fix so arguments of the command
authorBadlop <badlop@process-one.net>
Tue, 15 Jul 2008 21:43:22 +0000 (21:43 +0000)
committerBadlop <badlop@process-one.net>
Tue, 15 Jul 2008 21:43:22 +0000 (21:43 +0000)
are also passed to erl

SVN Revision: 1447

ChangeLog
src/ejabberdctl.template

index 9d95293f543e8906a7041dbeae636d9dddbead37..7d7debc4a47899c85e50884bd336081a5800387d 100644 (file)
--- 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
index fcf0a80ccad93304bf986da4d666e88edfd299f7..0099f9df5ca92c7e6a8ac270479da873cb3a0f4d 100644 (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) :;;