1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-24 06:50:57 +00:00

Merge pull request #655 from pi-hole/PromoFaux-patch-1

Replace `truncate` command with `echo " " >`
This commit is contained in:
Adam Warner 2016-09-02 19:34:50 +01:00 committed by GitHub
commit b6ceb06a32

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