mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-30 17:14:16 +02:00
Update advanced/Scripts/query.sh
Co-authored-by: yubiuser <github@yubiuser.dev> Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
ea8272d7d4
commit
05ad3d7155
@ -68,7 +68,7 @@ GenerateOutput() {
|
||||
fi
|
||||
|
||||
# Results from gravity
|
||||
printf "%s\n\n" "Found ${num_gravity} adlists ${search_type_str} matching '${COL_BLUE}${domain}${COL_NC}'."
|
||||
printf "%s\n\n" "Found ${num_gravity} lists ${search_type_str} matching '${COL_BLUE}${domain}${COL_NC}'."
|
||||
if [ "${num_gravity}" -gt 0 ]; then
|
||||
# Convert the data to a csv, each line is a "URL,type,domain,domain,...." string
|
||||
# not using jq's @csv here as it quotes each value individually
|
||||
|
Loading…
x
Reference in New Issue
Block a user