mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Improve table formatting
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
parent
807ce0af4e
commit
7b5fc60e00
1 changed files with 1 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ show_db_entries() {
|
|||
OLD_IFS="$IFS"
|
||||
IFS=$'\r\n'
|
||||
local entries=()
|
||||
mapfile -t entries < <(sqlite3 "${PIHOLE_GRAVITY_DB_FILE}" -cmd ".headers on" "${query}")
|
||||
mapfile -t entries < <(sqlite3 "${PIHOLE_GRAVITY_DB_FILE}" -cmd ".headers on" -cmd ".mode column" "${query}")
|
||||
|
||||
for line in "${entries[@]}"; do
|
||||
log_write " ${line}"
|
||||
|
|
Loading…
Reference in a new issue