summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/stats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/stats.go b/cmd/podman/stats.go
index 3c2dfb5cf..6a8681028 100644
--- a/cmd/podman/stats.go
+++ b/cmd/podman/stats.go
@@ -140,7 +140,7 @@ func statsCmd(c *cli.Context) error {
containerStats[id] = initialStats
}
stats, err := ctr.GetContainerStats(containerStats[id])
- if err != nil {
+ if err != nil && errors.Cause(err) != libpod.ErrNoSuchCtr {
return err
}
// replace the previous measurement with the current one