From b888054b052d84db151dfea917fac468a235f7c2 Mon Sep 17 00:00:00 2001 From: maride Date: Thu, 13 Nov 2025 16:46:03 +0100 Subject: [PATCH] Fix: add missing newline based on Printf/Println confusion --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 9d4fb84..e792b88 100644 --- a/main.go +++ b/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