mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 23:23:42 +00:00
Replace truncate
command with echo " " >
truncate causes issues with chronometer display on an LCD
This commit is contained in:
parent
ec6ecf0d60
commit
187928c67a
1 changed files with 1 additions and 1 deletions
|
@ -11,5 +11,5 @@
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
echo -n "::: Flushing /var/log/pihole.log ..."
|
echo -n "::: Flushing /var/log/pihole.log ..."
|
||||||
truncate -s 0 /var/log/pihole.log
|
echo " " > /var/log/pihole.log
|
||||||
echo "... done!"
|
echo "... done!"
|
||||||
|
|
Loading…
Reference in a new issue