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