summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_ps.go')
-rw-r--r--cmd/podman/pod_ps.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/pod_ps.go b/cmd/podman/pod_ps.go
index 8fea3f588..85d4e51e2 100644
--- a/cmd/podman/pod_ps.go
+++ b/cmd/podman/pod_ps.go
@@ -528,6 +528,8 @@ func getAndSortPodJSONParams(pods []*libpod.Pod, opts podPsOptions, runtime *lib
}
var status string
switch batchInfo.ConState {
+ case libpod.ContainerStateExited:
+ fallthrough
case libpod.ContainerStateStopped:
status = EXITED
case libpod.ContainerStateRunning: