mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-10 15:12:42 +00:00
Fix unreachable code
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
12927f8a3d
commit
cc25ee940e
@ -450,8 +450,8 @@ gravity_DownloadBlocklists() {
|
|||||||
|
|
||||||
# If none of the attempts worked, return 1
|
# If none of the attempts worked, return 1
|
||||||
if [[ "${i}" -eq 10 ]]; then
|
if [[ "${i}" -eq 10 ]]; then
|
||||||
return 1
|
|
||||||
pihole-FTL sqlite3 "${gravityTEMPfile}" "INSERT OR REPLACE INTO info (property,value) values ('gravity_restored','failed');"
|
pihole-FTL sqlite3 "${gravityTEMPfile}" "INSERT OR REPLACE INTO info (property,value) values ('gravity_restored','failed');"
|
||||||
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e " ${TICK} ${str}"
|
echo -e " ${TICK} ${str}"
|
||||||
|
Loading…
Reference in New Issue
Block a user