linted
This commit is contained in:
parent
2be770a3ba
commit
af8fcc9391
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@ touch errors.log
|
|||
date=$(date '+%a, %d %b %Y %H:%M:%S %z')
|
||||
|
||||
#Adblock lists download
|
||||
while read p; do
|
||||
while read -r p; do
|
||||
echo "#!MARKER- Begin of $p" >> pre-adblock.txt
|
||||
|
||||
wget -qO - $p >> pre-adblock.txt || echo "$date - Download failed: $p" >> errors.log
|
||||
wget -qO - "$p" >> pre-adblock.txt || echo "$date - Download failed: $p" >> errors.log
|
||||
sleep 2
|
||||
done <adblocklists.txt
|
||||
|
||||
|
|
Loading…
Reference in a new issue