diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-08-01 13:37:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-01 13:37:19 +0200 |
commit | 6f62dac163dd935866c21e91e5cd623772907eda (patch) | |
tree | c54863804158f85e206352da00133c0f12c60f7e /cmd/podman/rmi.go | |
parent | ee15e76da0a032bad7cb94295dc32e2553f10850 (diff) | |
parent | 5370d9cb76a8075332f5ab6a0efef9fba28ba19b (diff) | |
download | podman-6f62dac163dd935866c21e91e5cd623772907eda.tar.gz podman-6f62dac163dd935866c21e91e5cd623772907eda.tar.bz2 podman-6f62dac163dd935866c21e91e5cd623772907eda.zip |
Merge pull request #3341 from rhatdan/exit
Add new exit codes to rm & rmi for running containers & dependencies
Diffstat (limited to 'cmd/podman/rmi.go')
-rw-r--r-- | cmd/podman/rmi.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/rmi.go b/cmd/podman/rmi.go index 57e78c34a..3f621116e 100644 --- a/cmd/podman/rmi.go +++ b/cmd/podman/rmi.go @@ -74,6 +74,7 @@ func rmiCmd(c *cliconfig.RmiValues) error { fmt.Printf("A container associated with containers/storage, i.e. via Buildah, CRI-O, etc., may be associated with this image: %-12.12s\n", img.ID()) } if !adapter.IsImageNotFound(err) { + exitCode = 2 failureCnt++ } if lastError != nil { |