Merge branch 'master' of github.com:uklans/cache-domains

This commit is contained in:
Hazem Hagrass 2021-06-21 16:25:31 +02:00
commit 6e2ea88f42

View File

@ -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