aboutsummaryrefslogtreecommitdiff
path: root/libpod/oci.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-07-13 16:35:05 -0400
committerGitHub <noreply@github.com>2018-07-13 16:35:05 -0400
commit4729fd425588e17eff4f575d433f1075d4e27bb4 (patch)
treee7727035759b5c7aa08a745a2f87ae0fd4e546af /libpod/oci.go
parenta689639a6502bab3f49b853bc2983c1b44363b2f (diff)
parent259136c36c89cb32e28edfe8b5d7a3c1082fad5b (diff)
downloadpodman-4729fd425588e17eff4f575d433f1075d4e27bb4.tar.gz
podman-4729fd425588e17eff4f575d433f1075d4e27bb4.tar.bz2
podman-4729fd425588e17eff4f575d433f1075d4e27bb4.zip
Merge pull request #1089 from mheon/add_exited
Record whether the container has exited
Diffstat (limited to 'libpod/oci.go')
-rw-r--r--libpod/oci.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index c0478b3b6..3eaf159e7 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -450,6 +450,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container) error {
ctr.state.OOMKilled = true
}
+ ctr.state.Exited = true
}
return nil