mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Declare variables local
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
ab4bce4787
commit
b06efb6ab7
@ -849,7 +849,8 @@ gravity_Cleanup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
database_recovery() {
|
database_recovery() {
|
||||||
str="Checking integrity of existing gravity database"
|
local result
|
||||||
|
local str="Checking integrity of existing gravity database"
|
||||||
echo -ne " ${INFO} ${str}..."
|
echo -ne " ${INFO} ${str}..."
|
||||||
if result="$(pihole-FTL sqlite3 "${gravityDBfile}" "PRAGMA integrity_check" 2>&1)"; then
|
if result="$(pihole-FTL sqlite3 "${gravityDBfile}" "PRAGMA integrity_check" 2>&1)"; then
|
||||||
echo -e "${OVER} ${TICK} ${str} - no errors found"
|
echo -e "${OVER} ${TICK} ${str} - no errors found"
|
||||||
|
Loading…
Reference in New Issue
Block a user