summaryrefslogtreecommitdiff
path: root/libpod/oci.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-03-12 16:12:09 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-03-13 10:18:51 -0400
commit3b5805d521b8fa8a948efe74133ad1148a4c180d (patch)
treec5bfc0a0e48019e4dacda504532e1c6e00b60711 /libpod/oci.go
parent8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff)
downloadpodman-3b5805d521b8fa8a948efe74133ad1148a4c180d.tar.gz
podman-3b5805d521b8fa8a948efe74133ad1148a4c180d.tar.bz2
podman-3b5805d521b8fa8a948efe74133ad1148a4c180d.zip
Add event on container death
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/oci.go')
-rw-r--r--libpod/oci.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index c3b5f9af2..30360d289 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -477,7 +477,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container, useRunc bool) error {
// If not using runc, we don't need to do most of this.
if !useRunc {
// If the container's not running, nothing to do.
- if ctr.state.State != ContainerStateRunning {
+ if ctr.state.State != ContainerStateRunning && ctr.state.State != ContainerStatePaused {
return nil
}