diff --git a/cmd/flares/main.go b/cmd/flares/main.go index 5a41d58..2838c43 100644 --- a/cmd/flares/main.go +++ b/cmd/flares/main.go @@ -110,7 +110,7 @@ func main() { wg.Add(1) go func(domain string) { if debugFlag { - fmt.Println("closure domain:", domain) + fmt.Println("domain:", domain) wg.Done() return } @@ -127,9 +127,10 @@ func main() { wg.Done() }(domain) - wg.Wait() } + wg.Wait() + return nil }