1
0
mirror of https://github.com/pi-hole/pi-hole.git synced 2025-09-15 13:21:15 +08:00

Make LOGFILE readonly after assignment (#6261)

This commit is contained in:
yubiuser
2025-06-01 15:47:11 +02:00
committed by GitHub

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