aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/images_prune.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/images_prune.go')
-rw-r--r--cmd/podman/images_prune.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images_prune.go b/cmd/podman/images_prune.go
index 1ac5bc65d..5745edd6b 100644
--- a/cmd/podman/images_prune.go
+++ b/cmd/podman/images_prune.go
@@ -41,7 +41,7 @@ func pruneImagesCmd(c *cliconfig.PruneImagesValues) error {
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}
- defer runtime.Shutdown(false)
+ defer runtime.DeferredShutdown(false)
// Call prune; if any cids are returned, print them and then
// return err in case an error also came up