mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Replace truncate
command with echo " " >
This commit is contained in:
parent
7ccfb6ea88
commit
8cb2f85a08
@ -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
Block a user