summaryrefslogtreecommitdiff
path: root/libpod/oci.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-03 12:45:48 +0200
committerGitHub <noreply@github.com>2019-07-03 12:45:48 +0200
commitbf7d5a9ce8455e4480b5e0ef92b02099f119ee71 (patch)
tree6a5cc5d3d9e68940c423e69e81ab375972d72f15 /libpod/oci.go
parent2fbf71663248c578acd68fe393fb04fa3b2606e4 (diff)
parent38c6199b80c5de5d965ab1bcf05820567a36813c (diff)
downloadpodman-bf7d5a9ce8455e4480b5e0ef92b02099f119ee71.tar.gz
podman-bf7d5a9ce8455e4480b5e0ef92b02099f119ee71.tar.bz2
podman-bf7d5a9ce8455e4480b5e0ef92b02099f119ee71.zip
Merge pull request #3483 from mheon/get_conmon_pid
Store and print PID of conmon
Diffstat (limited to 'libpod/oci.go')
-rw-r--r--libpod/oci.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index efb5e42cc..fdd783100 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -234,6 +234,8 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container, useRuntime bool) erro
// Alright, it exists. Transition to Stopped state.
ctr.state.State = define.ContainerStateStopped
+ ctr.state.PID = 0
+ ctr.state.ConmonPID = 0
// Read the exit file to get our stopped time and exit code.
return ctr.handleExitFile(exitFile, info)