Merge pull request #655 from pi-hole/PromoFaux-patch-1
Replace `truncate` command with `echo " " >`
This commit is contained in:
commit
b6ceb06a32
|
@ -11,5 +11,5 @@
|
|||
# (at your option) any later version.
|
||||
|
||||
echo -n "::: Flushing /var/log/pihole.log ..."
|
||||
truncate -s 0 /var/log/pihole.log
|
||||
echo " " > /var/log/pihole.log
|
||||
echo "... done!"
|
||||
|
|
Loading…
Reference in New Issue