From 00df767a99fc5646201c31a2ddef4587cc88c2d6 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 7 Dec 2017 14:44:21 -0500 Subject: Carry CRI-O #1206 to fix a potential runtime issue Signed-off-by: Matthew Heon --- libpod/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/oci.go') diff --git a/libpod/oci.go b/libpod/oci.go index 6ea6bb64f..3daae37f3 100644 --- a/libpod/oci.go +++ b/libpod/oci.go @@ -302,7 +302,7 @@ func (r *OCIRuntime) createContainer(ctr *Container, cgroupParent string) (err e func (r *OCIRuntime) updateContainerStatus(ctr *Container) error { state := new(spec.State) - out, err := exec.Command(r.path, "state", ctr.ID()).CombinedOutput() + out, err := exec.Command(r.path, "state", ctr.ID()).Output() if err != nil { return errors.Wrapf(err, "error getting container %s state. stderr/out: %s", ctr.ID(), out) } -- cgit v1.2.3-54-g00ecf