mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-02 03:11:11 +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
|
if [[ "${status}" -ne 0 ]]; then
|
||||||
echo -e "\\n ${CROSS} Unable to optimize gravity database ${gravityDBfile}\\n ${output}"
|
echo -e "\\n ${CROSS} Unable to optimize gravity database ${gravityDBfile}\\n ${output}"
|
||||||
gravity_Cleanup "error"
|
error="error"
|
||||||
else
|
else
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
echo -e "${OVER} ${TICK} ${str}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user