Do not write source on plain text hosts file

master
Víctor Zamanillo 2020-08-16 21:33:45 +02:00
parent af1a775c46
commit b1044303cb
1 changed files with 0 additions and 2 deletions

View File

@ -156,8 +156,6 @@ func writePlainHost(results map[string]resolve.HostEntry, writer io.Writer) erro
for _, result := range results {
sb.WriteString(result.Host)
sb.WriteString(",")
sb.WriteString(result.Source)
sb.WriteString("\n")
_, err := bufwriter.WriteString(sb.String())