blob: 245ecc4f0a019d672641ec53da22fc132760c15e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-tools_ejabberdctl.bc,v 1.3 2022/10/15 18:20:40 triaxx Exp $
Proper log file location.
--- tools/ejabberdctl.bc.orig 2022-05-06 13:12:22.000000000 +0000
+++ tools/ejabberdctl.bc
@@ -3,7 +3,7 @@
#
get_help()
{
- local COMMANDCACHE=/var/log/ejabberd/bash_completion_$RANDOM
+ local COMMANDCACHE=@EJABBERD_LOGDIR@/bash_completion_$RANDOM
ejabberdctl $CTLARGS help tags >$COMMANDCACHE.tags
ejabberdctl $CTLARGS >$COMMANDCACHE
if [[ $? == 2 ]] ; then
|