diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-03-12 16:12:09 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-03-13 10:18:51 -0400 |
commit | 3b5805d521b8fa8a948efe74133ad1148a4c180d (patch) | |
tree | c5bfc0a0e48019e4dacda504532e1c6e00b60711 /libpod/oci.go | |
parent | 8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff) | |
download | podman-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.go | 2 |
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 } |