mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-22 17:22:16 -05:00
blacklist was being concatenated with wrong matter
This commit is contained in:
parent
66bb0e7bb3
commit
552f980430
@ -83,7 +83,7 @@ find $origin/ -type f -name "*.$justDomainsExtension" -exec cat {} \; | tr -d '\
|
|||||||
if [[ -f $blacklist ]];then
|
if [[ -f $blacklist ]];then
|
||||||
numberOf=$(cat $blacklist | wc -l | sed 's/^[ \t]*//')
|
numberOf=$(cat $blacklist | wc -l | sed 's/^[ \t]*//')
|
||||||
echo "** Blacklisting $numberOf domain(s)..."
|
echo "** Blacklisting $numberOf domain(s)..."
|
||||||
cat $blacklist >> /tmp/matter.txt
|
cat $blacklist >> $origin/$matter
|
||||||
else
|
else
|
||||||
:
|
:
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user