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

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}"