From a1f3d44497cbdc393063164b60a1875edf4e1548 Mon Sep 17 00:00:00 2001
From: haircommander <pehunt@redhat.com>
Date: Thu, 12 Jul 2018 12:57:26 -0400
Subject: Changed container status of Unknown from being printed as Dead to
 Error in Ps

Signed-off-by: haircommander <pehunt@redhat.com>

Closes: #1083
Approved by: rhatdan
---
 cmd/podman/ps.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cmd')

diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go
index a89523e83..49e43ffac 100644
--- a/cmd/podman/ps.go
+++ b/cmd/podman/ps.go
@@ -519,7 +519,7 @@ func getTemplateOutput(psParams []psJSONParams, opts batchcontainer.PsOptions) (
 		case libpod.ContainerStateCreated.String(), libpod.ContainerStateConfigured.String():
 			status = "Created"
 		default:
-			status = "Dead"
+			status = "Error"
 		}
 
 		if !opts.NoTrunc {
-- 
cgit v1.2.3-54-g00ecf