mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-08 21:43:07 +02:00
Fix bash completion when using Relive or other install methods
This commit is contained in:
parent
d26a9d583f
commit
503ad8e905
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
get_help()
|
||||
{
|
||||
local COMMANDCACHE=/var/log/ejabberd/bash_completion_$RANDOM
|
||||
local COMMANDCACHE=/tmp/ejabberd_bash_completion_$RANDOM
|
||||
ejabberdctl $CTLARGS help tags >$COMMANDCACHE.tags
|
||||
ejabberdctl $CTLARGS >$COMMANDCACHE
|
||||
if [[ $? == 2 ]] ; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user