mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-28 16:14:07 +02:00
Make LOGFILE readonly after assignment
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
de31858950
commit
89c4976da4
2
pihole
2
pihole
@ -389,8 +389,8 @@ tailFunc() {
|
|||||||
echo -e " ${INFO} Press Ctrl-C to exit"
|
echo -e " ${INFO} Press Ctrl-C to exit"
|
||||||
|
|
||||||
# Get logfile path
|
# Get logfile path
|
||||||
readonly LOGFILE
|
|
||||||
LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
|
LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
|
||||||
|
readonly LOGFILE
|
||||||
|
|
||||||
# Strip date from each line
|
# Strip date from each line
|
||||||
# Color blocklist/denylist/wildcard entries as red
|
# Color blocklist/denylist/wildcard entries as red
|
||||||
|
Loading…
x
Reference in New Issue
Block a user