1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 06:38:17 +00:00

Strip carriage returns on matter so that whitelists work correctly. Lines that had \r would not match.

This commit is contained in:
rmceoin 2015-06-22 13:03:15 -07:00
parent e9324f8316
commit 66bb0e7bb3

View File

@ -77,7 +77,7 @@ done
# Find all files with the .domains extension and compile them into one file
echo "** Aggregating list of domains..."
find $origin/ -type f -name "*.$justDomainsExtension" -exec cat {} \; > $origin/$matter
find $origin/ -type f -name "*.$justDomainsExtension" -exec cat {} \; | tr -d '\r' > $origin/$matter
# Append blacklist entries if they exist
if [[ -f $blacklist ]];then