mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Remove duplicate error messages
Remove duplicate error messages when command fails
This commit is contained in:
parent
f978c4cab5
commit
fd9dd13cc2
@ -151,7 +151,6 @@ func newCommand() *cobra.Command {
|
||||
func main() {
|
||||
command := newCommand()
|
||||
if err := command.Execute(); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user