diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-04 18:45:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 18:45:14 +0000 |
commit | 9c2fc4b6228889ea850656468381a8be45f7e3cd (patch) | |
tree | 0fefde08a04349dc45336c9a5fcd4d748d23897c /cmd/podman/utils/error.go | |
parent | 77f8c6549ab1df393f613cc13e93e8dcec859614 (diff) | |
parent | 41f94a4dc1a6c426f2d05c440bc36a4e7b425809 (diff) | |
download | podman-9c2fc4b6228889ea850656468381a8be45f7e3cd.tar.gz podman-9c2fc4b6228889ea850656468381a8be45f7e3cd.tar.bz2 podman-9c2fc4b6228889ea850656468381a8be45f7e3cd.zip |
Merge pull request #11113 from rhatdan/unpause
Fix podman unpause to work like podman stop
Diffstat (limited to 'cmd/podman/utils/error.go')
-rw-r--r-- | cmd/podman/utils/error.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/podman/utils/error.go b/cmd/podman/utils/error.go index 3464f0779..2d58bc70d 100644 --- a/cmd/podman/utils/error.go +++ b/cmd/podman/utils/error.go @@ -1,6 +1,9 @@ package utils -import "fmt" +import ( + "fmt" + "os" +) type OutputErrors []error @@ -10,7 +13,7 @@ func (o OutputErrors) PrintErrors() (lastError error) { } lastError = o[len(o)-1] for e := 0; e < len(o)-1; e++ { - fmt.Println(o[e]) + fmt.Fprintf(os.Stderr, "Error: %s\n", o[e]) } return } |