From f41c4114c7b5a7d3a29128b5364f37b2edd920a0 Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Thu, 15 Feb 2024 12:06:38 -0500 Subject: [PATCH] Print error to STDERR Signed-off-by: Brett Logan --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 51d9579..9dcf363 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func main() { err := app.Run(os.Args) if err != nil { - fmt.Printf("Error: %v\n", err) + fmt.Fprintf(os.Stderr, "Error: %v\n", err) os.Exit(1) } }