mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-22 15:20:14 +00:00
Fix lint errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
bc9b623638
commit
b372f808dd
2 changed files with 6 additions and 5 deletions
|
@ -180,7 +180,7 @@ if [[ -z "${exact}" ]]; then
|
|||
fi
|
||||
|
||||
# Get adlist file content as array
|
||||
if [[ -n "${blockpage}" ]]; then
|
||||
if [[ -n "${adlist}" ]] || [[ -n "${blockpage}" ]]; then
|
||||
# Retrieve source URLs from gravity database
|
||||
mapfile -t adlists <<< "$(sqlite3 "${gravityDBfile}" "SELECT address FROM vw_adlists;" 2> /dev/null)"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue