diff options
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/root.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/root.go b/cmd/podman/root.go index 729ca6aa7..667f7e588 100644 --- a/cmd/podman/root.go +++ b/cmd/podman/root.go @@ -82,7 +82,7 @@ func init() { func Execute() { if err := rootCmd.ExecuteContext(registry.GetContextWithOptions()); err != nil { - logrus.Error(err) + fmt.Fprintln(os.Stderr, "Error:", err.Error()) } else if registry.GetExitCode() == registry.ExecErrorCodeGeneric { // The exitCode modified from registry.ExecErrorCodeGeneric, // indicates an application |