diff options
Diffstat (limited to 'cmd/podman/shared/pod.go')
-rw-r--r-- | cmd/podman/shared/pod.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/shared/pod.go b/cmd/podman/shared/pod.go index badc7a837..4e8e58c4d 100644 --- a/cmd/podman/shared/pod.go +++ b/cmd/podman/shared/pod.go @@ -35,6 +35,8 @@ func GetPodStatus(pod *libpod.Pod) (string, error) { } for _, ctrStatus := range ctrStatuses { switch ctrStatus { + case libpod.ContainerStateExited: + fallthrough case libpod.ContainerStateStopped: statuses[stopped]++ case libpod.ContainerStateRunning: |