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
1 changed files with 1 additions and 1 deletions

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