mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-21 21:40:55 +00:00
Avoid infinity loop if gravity optimization fails
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
1f9a7d0b0c
commit
b2f4385232
@ -692,7 +692,7 @@ gravity_Cleanup() {
|
||||
|
||||
if [[ "${status}" -ne 0 ]]; then
|
||||
echo -e "\\n ${CROSS} Unable to optimize gravity database ${gravityDBfile}\\n ${output}"
|
||||
gravity_Cleanup "error"
|
||||
error="error"
|
||||
else
|
||||
echo -e "${OVER} ${TICK} ${str}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user