From 86d8b09b341a8c6e4c53b16949c4d1bafb130c4d Mon Sep 17 00:00:00 2001 From: The_Spider Date: Mon, 21 Mar 2022 19:10:20 -0500 Subject: [PATCH] putputting percent every line is too much. --- cmd/bind/cleanup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bind/cleanup.go b/cmd/bind/cleanup.go index 247374b..bca7c85 100644 --- a/cmd/bind/cleanup.go +++ b/cmd/bind/cleanup.go @@ -50,8 +50,8 @@ func cleanBadDomains(domains []string) []string { } list = []string{} - for k, v := range domains { - log.Printf("[DEBUG] Processing %d of %d (%0.2f%%)\n", k+1, len(domains), float64((k+1)/len(domains))) + for _, v := range domains { + //log.Printf("[DEBUG] Processing %d of %d (%0.2f%%)\n", k+1, len(domains), float64((k+1)/len(domains))) for _, allowedItem := range goodAllowedItemList { if regexp.MustCompile(allowedItem).MatchString(v) { log.Printf("[DEBUG] Removing allowed matching item: %s\n", v)