mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-25 00:30:29 +00:00
fix indentations
This commit is contained in:
parent
bdfc86f850
commit
9a4c5cef86
2 changed files with 19 additions and 23 deletions
|
@ -61,7 +61,7 @@ function helpFunc()
|
|||
echo "::: -f, --force Force updating of the hosts files, even if there are no changes"
|
||||
echo "::: -q, --quiet output is less verbose"
|
||||
echo "::: -h, --help Show this help dialog"
|
||||
echo "::: -l, --list Display your blacklisted domains"
|
||||
echo "::: -l, --list Display your blacklisted domains"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
@ -175,16 +175,14 @@ function Reload() {
|
|||
}
|
||||
|
||||
function DisplayBlist() {
|
||||
clear
|
||||
echo -e " Displaying Gravity Affected Domains \n"
|
||||
|
||||
GRD="$blacklist"
|
||||
count=1
|
||||
while IFS= read -r RD
|
||||
do
|
||||
echo "${count}: $RD"
|
||||
count=$((count+1))
|
||||
done < "$blacklist"
|
||||
clear
|
||||
echo -e " Displaying Gravity Affected Domains \n"
|
||||
count=1
|
||||
while IFS= read -r AD
|
||||
do
|
||||
echo "${count}: $AD"
|
||||
count=$((count+1))
|
||||
done < "$blacklist"
|
||||
}
|
||||
|
||||
###################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue