removed set -e
set -e stopps the script after the grep -v command, which is used to remove unnecessary output without removing eventual occuring error outputs
This commit is contained in:
parent
52786a1caa
commit
37968e070f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ while read -r p; do
|
||||||
done <adblocklists.txt
|
done <adblocklists.txt
|
||||||
|
|
||||||
# Breaking before will cause trouble if a URL is not reachable
|
# Breaking before will cause trouble if a URL is not reachable
|
||||||
set -e -u
|
set -u
|
||||||
|
|
||||||
#Remove comments in lists and change marker to comment
|
#Remove comments in lists and change marker to comment
|
||||||
sed -i -e 's/^!.*$//g' -e 's/#!MARKER-/!MARKER-/g' pre-adblock.txt
|
sed -i -e 's/^!.*$//g' -e 's/#!MARKER-/!MARKER-/g' pre-adblock.txt
|
||||||
|
|
Loading…
Reference in a new issue