Fix: add missing newline based on Printf/Println confusion
This commit is contained in:
parent
3d0735ae7b
commit
b888054b05
4
main.go
4
main.go
@ -91,7 +91,7 @@ func process(ip net.IP, domains []string) {
|
||||
found = true
|
||||
|
||||
// Inform user
|
||||
fmt.Printf("Updated the line for '%s' to include '%s'", ipString, newDomains)
|
||||
fmt.Printf("Updated the line for '%s' to include '%s'\n", ipString, newDomains)
|
||||
}
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ func process(ip net.IP, domains []string) {
|
||||
lines = append(lines, newLine)
|
||||
|
||||
// Inform user
|
||||
fmt.Printf("Appended line for '%s' to include '%s'", ipString, newDomains)
|
||||
fmt.Printf("Appended line for '%s' to include '%s'\n", ipString, newDomains)
|
||||
}
|
||||
|
||||
// Write out again
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user