Fix: add missing newline based on Printf/Println confusion

This commit is contained in:
maride 2025-11-13 16:46:03 +01:00
parent 3d0735ae7b
commit b888054b05

View File

@ -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