diff options
Diffstat (limited to 'cmd/kpod/create.go')
-rw-r--r-- | cmd/kpod/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/create.go b/cmd/kpod/create.go index 9e4162993..2684f8927 100644 --- a/cmd/kpod/create.go +++ b/cmd/kpod/create.go @@ -149,6 +149,7 @@ func createCmd(c *cli.Context) error { if err != nil { return errors.Wrapf(err, "error creating libpod runtime") } + defer runtime.Shutdown(false) createConfig, err := parseCreateOpts(c, runtime) if err != nil { @@ -169,7 +170,6 @@ func createCmd(c *cli.Context) error { if err != nil { return err } - defer runtime.Shutdown(false) if createImage.LocalName != "" { imageName = createImage.LocalName } else { |