Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
lfaoro committed Jun 5, 2019
2 parents 4f4ff2d + d6bf51c commit 8e13af8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cmd/flares/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ func main() {

wg.Add(1)
go func(domain string) {
if debugFlag {
fmt.Println("closure domain:", domain)
wg.Done()
return
}
if debugFlag {
fmt.Println("closure domain:", domain)
wg.Done()
return
}

table, err := dns.TableFor(domain)
fatalIfErr(err)

Expand All @@ -125,8 +126,9 @@ func main() {

wg.Done()
}(domain)

wg.Wait()
}
wg.Wait()

return nil
}
Expand Down

0 comments on commit 8e13af8

Please sign in to comment.