diff --git a/cmd/cmd.go b/cmd/cmd.go index 9171106f0..a19178e80 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -38,7 +38,7 @@ func init() { func Execute() { if err := rootCmd.Execute(); err != nil { - log.Errorf(err.Error()) + fmt.Fprintln(os.Stderr, err.Error()) os.Exit(1) } }