mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-02 11:21:05 +00:00
indentation
This commit is contained in:
parent
96053d13be
commit
476fd1f695
@ -96,7 +96,7 @@ RemoveDomain() {
|
|||||||
if ${bool}; then
|
if ${bool}; then
|
||||||
#Domain is not in the whitelist file, no need to Remove
|
#Domain is not in the whitelist file, no need to Remove
|
||||||
if ${verbose}; then
|
if ${verbose}; then
|
||||||
echo "::: $1 is NOT whitelisted! No need to remove"
|
echo "::: $1 is NOT whitelisted! No need to remove"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
echo "$1" | sed 's/\./\\./g' | xargs -I {} perl -i -ne'print unless /'{}'(?!.)/;' ${whitelist}
|
||||||
|
Loading…
Reference in New Issue
Block a user