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)