diff --git a/main.go b/main.go index bc83e44..c0c3290 100644 --- a/main.go +++ b/main.go @@ -75,8 +75,8 @@ func main() { sockFound, err = runCluster(*requestedNamespace, w, *verbose, *progressBar) } if err != nil { - fmt.Fprintf(os.Stderr, "error: %v", err) - fmt.Fprint(os.Stderr, "Warning: The following table may be incomplete due to errors detected during the run") + fmt.Fprintf(os.Stderr, "error: %v\n", err) + fmt.Fprintln(os.Stderr, "Warning: The following table may be incomplete due to errors detected during the run") w.Flush() os.Exit(1) }