From b6a264464f005eaf8670b22a820aa1db150c188f Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 16 Apr 2020 16:43:52 -0500 Subject: Enable some testing Signed-off-by: Brent Baude --- cmd/podman/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') 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 -- cgit v1.2.3-54-g00ecf