summaryrefslogtreecommitdiff
path: root/cmd/podman/start.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/start.go')
-rw-r--r--cmd/podman/start.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/start.go b/cmd/podman/start.go
index 0dad5e237..18e8f7766 100644
--- a/cmd/podman/start.go
+++ b/cmd/podman/start.go
@@ -138,6 +138,10 @@ func startCmd(c *cli.Context) error {
} else {
exitCode = int(ecode)
}
+ if lastError != nil {
+ fmt.Fprintln(os.Stderr, lastError)
+ }
+ lastError = ctr.Cleanup()
}
return lastError
}