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
|
found = true
|
||||||
|
|
||||||
// Inform user
|
// 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)
|
lines = append(lines, newLine)
|
||||||
|
|
||||||
// Inform user
|
// 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
|
// Write out again
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user