Make LOGFILE readonly after assignment

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2025-05-31 08:23:24 -07:00
parent de31858950
commit 89c4976da4
No known key found for this signature in database

2
pihole
View File

@ -389,8 +389,8 @@ tailFunc() {
echo -e " ${INFO} Press Ctrl-C to exit"
# Get logfile path
readonly LOGFILE
LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
readonly LOGFILE
# Strip date from each line
# Color blocklist/denylist/wildcard entries as red