From 89c4976da485fe506726d2c28db54e7eeab42afe Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 31 May 2025 08:23:24 -0700 Subject: [PATCH] Make LOGFILE readonly after assignment Signed-off-by: Dan Schaper --- pihole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pihole b/pihole index 2c3a433b..1a5cdf9e 100755 --- a/pihole +++ b/pihole @@ -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