From 1199e0669ae8860deb2e1215284cc1fb17762dbc Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:38:38 +0800 Subject: [PATCH] Fix --- functions/retrieve_domains.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/retrieve_domains.sh b/functions/retrieve_domains.sh index 43d9c2a85..cdd763629 100644 --- a/functions/retrieve_domains.sh +++ b/functions/retrieve_domains.sh @@ -277,8 +277,8 @@ log_source() { echo "${TIME_FORMAT},${source},${search_term},${unfiltered_count:-0},\ ${filtered_count:-0},${total_whitelisted_count},${dead_count:-0},${redundant_count},\ -${parked_count:-0},${toplist_count:-0},$(tr '\n' ' ' <<< "$domains_in_toplist"),\ -${query_count:-0},${rate_limited:-false}" >> "$SOURCE_LOG" +${parked_count:-0},${toplist_count:-0},$(printf "%s" "$domains_in_toplist" | tr '\n' ' '),\ +${query_count:-0},${rate_limited:-false}",no >> "$SOURCE_LOG" printf "\n\e[1mSource:\e[0m %s\n" "${item:-$source}" printf "Raw:%4s Final:%4s Whitelisted:%4s Excluded:%4s Toplist:%4s\n" \