mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 04:30:55 +00:00
Adding the spinner for foreign_key_check too
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
parent
c4f9a475f3
commit
cbcd12631d
@ -1316,7 +1316,7 @@ database_integrity_check(){
|
|||||||
|
|
||||||
log_write "${INFO} Checking foreign key constraints of ${database} ... (this can take several minutes)"
|
log_write "${INFO} Checking foreign key constraints of ${database} ... (this can take several minutes)"
|
||||||
unset result
|
unset result
|
||||||
result="$(pihole-FTL sqlite3 "${database}" -cmd ".headers on" -cmd ".mode column" "PRAGMA foreign_key_check" 2>&1)"
|
result="$(pihole-FTL sqlite3 "${database}" -cmd ".headers on" -cmd ".mode column" "PRAGMA foreign_key_check" 2>&1 & spinner)"
|
||||||
if [[ -z ${result} ]]; then
|
if [[ -z ${result} ]]; then
|
||||||
log_write "${TICK} No foreign key errors in ${database}"
|
log_write "${TICK} No foreign key errors in ${database}"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user