mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Fix broken whitelist functionality
This commit is contained in:
parent
ee2169dd13
commit
2deb2bf03f
1 changed files with 2 additions and 5 deletions
|
@ -631,8 +631,8 @@ fi
|
|||
|
||||
gravity_ShowBlockCount
|
||||
|
||||
# Perform when downloading blocklists, or modifying the blacklist
|
||||
if [[ "${skipDownload}" == false ]] || [[ "${listType}" == "blacklist" ]]; then
|
||||
# Perform when downloading blocklists, or modifying the white/blacklist (not wildcards)
|
||||
if [[ "${skipDownload}" == false ]] || [[ "${listType}" == *"list" ]]; then
|
||||
str="Parsing domains into hosts format"
|
||||
echo -ne " ${INFO} ${str}..."
|
||||
|
||||
|
@ -645,10 +645,7 @@ if [[ "${skipDownload}" == false ]] || [[ "${listType}" == "blacklist" ]]; then
|
|||
fi
|
||||
|
||||
echo -e "${OVER} ${TICK} ${str}"
|
||||
fi
|
||||
|
||||
# Perform when downloading blocklists
|
||||
if [[ "${skipDownload}" == false ]]; then
|
||||
gravity_Cleanup
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue