Replace truncate command with echo " " >

This commit is contained in:
Adam Warner 2016-09-02 16:39:34 +01:00 committed by GitHub
parent 7ccfb6ea88
commit 8cb2f85a08

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