summaryrefslogtreecommitdiff
path: root/cmd/podman/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/init.go')
-rw-r--r--cmd/podman/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/init.go b/cmd/podman/init.go
index 68c80631d..3f97824fc 100644
--- a/cmd/podman/init.go
+++ b/cmd/podman/init.go
@@ -54,7 +54,7 @@ func initCmd(c *cliconfig.InitValues) error {
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}
- defer runtime.Shutdown(false)
+ defer runtime.DeferredShutdown(false)
ok, failures, err := runtime.InitContainers(ctx, c)
if err != nil {