mirror of
https://github.com/uklans/cache-domains
synced 2025-06-19 07:52:56 +02:00
Merge branch 'uklans:master' into master
This commit is contained in:
commit
ecc13579d4
@ -51,7 +51,7 @@ while read entry; do
|
||||
continue
|
||||
fi
|
||||
parsed=$(echo $fileentry | sed -e "s/^\*\.//")
|
||||
if grep -qx "$parsed" $outputfile; then
|
||||
if grep -qx " local-zone: \"${parsed}\" redirect" $outputfile; then
|
||||
continue
|
||||
fi
|
||||
if [[ $(head -n 1 $outputfile) != "server:" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user