[ejabberd] ejabberdctl.template patches
badlop at gmail.com
Tue Jan 26 01:22:24 MSK 2010
2010/1/25 Martin Langhoff <martin.langhoff at gmail.com>:
> There's also a patch for a tiny typo introduced recently.
Thanks, applied to SVN.
> I've got a WIP patch for this, ported and tidied up the implementation
> I have on 2.0.3.
There seems to be two typos:
@@ -239,8 +239,8 @@ ctl ()
if [ ! "$FLOCK" ];then
# no flock, simply invoke ctlexec()
- ctlexec $CTL_CONN $COMMAND)
+ ctlexec $CTL_CONN $COMMAND
# we have flock so we get a lock
# on one of a limited number of
# conn names -- this allows
According to the lines indentation, the FOR loop is not closed,
and the main IF loop is closed with with DONE.
There is also a function defined with:
sub ctlexec ()
I didn't find that "sub" thing documented in bash or dash manuals.
More information about the ejabberd