summaryrefslogtreecommitdiff
path: root/cmd/podman/root.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-16 16:43:52 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-17 10:09:32 -0500
commitb6a264464f005eaf8670b22a820aa1db150c188f (patch)
tree48b3fa6c7ad58a31ac838b581decaa031e7044b2 /cmd/podman/root.go
parentd31dcb9bbd521fe8e3e78b0ebe2a893634ab2e6b (diff)
downloadpodman-b6a264464f005eaf8670b22a820aa1db150c188f.tar.gz
podman-b6a264464f005eaf8670b22a820aa1db150c188f.tar.bz2
podman-b6a264464f005eaf8670b22a820aa1db150c188f.zip
Enable some testing
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/root.go')
-rw-r--r--cmd/podman/root.go2
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