mirror of
https://github.com/pi-hole/pi-hole
synced 2025-06-27 10:52:34 +00:00
More tabs to spaces.
This commit is contained in:
parent
d64e86288c
commit
61140348fe
@ -26,7 +26,6 @@ listMain=""
|
||||
listAlt=""
|
||||
|
||||
helpFunc() {
|
||||
|
||||
if [[ ${listMain} == ${whitelist} ]]; then
|
||||
letter="w"
|
||||
word="white"
|
||||
@ -103,6 +102,7 @@ RemoveDomain() {
|
||||
list="$2"
|
||||
|
||||
bool=true
|
||||
|
||||
#Is it in the other list? Logic follows that if its whitelisted it should not be blacklisted and vice versa
|
||||
grep -Ex -q "$1" ${list} > /dev/null 2>&1 || bool=false
|
||||
if [[ "${bool}" == true ]]; then
|
||||
@ -128,6 +128,7 @@ Displaylist() {
|
||||
else
|
||||
string="domains caught in the sinkhole"
|
||||
fi
|
||||
|
||||
verbose=false
|
||||
echo -e " Displaying $string \n"
|
||||
count=1
|
||||
|
Loading…
Reference in New Issue
Block a user