1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-02-05 04:41:18 +00:00

Fix unreachable code

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2025-01-12 13:42:51 +01:00
parent 12927f8a3d
commit cc25ee940e
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -450,8 +450,8 @@ gravity_DownloadBlocklists() {
# If none of the attempts worked, return 1
if [[ "${i}" -eq 10 ]]; then
return 1
pihole-FTL sqlite3 "${gravityTEMPfile}" "INSERT OR REPLACE INTO info (property,value) values ('gravity_restored','failed');"
return 1
fi
echo -e " ${TICK} ${str}"