diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-26 05:36:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 05:36:30 +0100 |
commit | aef38585ed313d1096c1fa4f6281f36e5e47422b (patch) | |
tree | 862198cc30e40c39f016e71bc1f66382279aed3d /cmd/podman | |
parent | 9fb0adf479b6655d93316ece0cd702c4d4920fe1 (diff) | |
parent | e953828d0db40bd84bb05d59a7b3bb39c6185308 (diff) | |
download | podman-aef38585ed313d1096c1fa4f6281f36e5e47422b.tar.gz podman-aef38585ed313d1096c1fa4f6281f36e5e47422b.tar.bz2 podman-aef38585ed313d1096c1fa4f6281f36e5e47422b.zip |
Merge pull request #4514 from mheon/discard_cleanup_errors
Discard errors from Shutdown in `system renumber`
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/system_renumber.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/podman/system_renumber.go b/cmd/podman/system_renumber.go index 81752a177..4e90a2d8c 100644 --- a/cmd/podman/system_renumber.go +++ b/cmd/podman/system_renumber.go @@ -44,9 +44,7 @@ func renumberCmd(c *cliconfig.SystemRenumberValues) error { if err != nil { return errors.Wrapf(err, "error renumbering locks") } - if err := r.Shutdown(false); err != nil { - return err - } + _ = r.Shutdown(false) return nil } |