Make LOGFILE readonly after assignment (#6261)

This commit is contained in:
yubiuser 2025-06-01 15:47:11 +02:00 committed by GitHub
commit 03b3b69617
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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