Replace truncate command with echo " " >

truncate causes issues with chronometer display on an LCD
This commit is contained in:
Adam Warner 2016-09-02 16:36:41 +01:00 committed by GitHub
parent ec6ecf0d60
commit 187928c67a

View file

@ -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!"