diff --git a/cmd/bk/main.go b/cmd/bk/main.go index fdb8a3f9..22b6897e 100644 --- a/cmd/bk/main.go +++ b/cmd/bk/main.go @@ -30,7 +30,7 @@ func mainRun() int { } if err := rootCmd.ExecuteContext(ctx); err != nil { - fmt.Fprintf(os.Stderr, "failed to execute command: %s\n", err) + // Errors already get printed by the cobra command runner return 1 }