24
1
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:
Badlop 2022-12-26 10:22:14 +01:00
parent d26a9d583f
commit 503ad8e905

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