Fix bash completion when using Relive or other install methods

This commit is contained in:
Badlop 2022-12-26 10:22:14 +01:00
parent d26a9d583f
commit 503ad8e905
1 changed files with 1 additions and 1 deletions

View File

@ -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