mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
More tabs to spaces.
This commit is contained in:
parent
d64e86288c
commit
61140348fe
5 changed files with 298 additions and 297 deletions
|
@ -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 a new issue