mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-08 17:05:17 +02:00
Fix database integrity check in debug log
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
abb94cafe4
commit
d1639740d9
@ -1221,7 +1221,7 @@ database_integrity_check(){
|
||||
local database="${1}"
|
||||
|
||||
log_write "${INFO} Checking integrity of ${database} ... (this can take several minutes)"
|
||||
result="$(pihole-FTL "${database}" "PRAGMA integrity_check" 2>&1 & spinner)"
|
||||
result="$(pihole-FTL sqlite3 -ni "${database}" "PRAGMA integrity_check" 2>&1 & spinner)"
|
||||
if [[ ${result} = "ok" ]]; then
|
||||
log_write "${TICK} Integrity of ${database} intact"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user