removed unnecessary empty string from print

Michael Muré and auyer created

Co-Authored-By: auyer <rafael@rcpassos.me>

Change summary

cleaner/cleaner.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

cleaner/cleaner.go 🔗

@@ -21,7 +21,8 @@ func Register(f t) {
 			ch := make(chan os.Signal, 1)
 			signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)
 			<-ch
-			fmt.Println("")
+                        // Prevent un-terminated ^C character in terminal
+			fmt.Println()
 			clean()
 			os.Exit(1)
 		}()