diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-07-10 14:43:07 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2019-07-17 16:48:38 -0400 |
commit | 156b6ef22230b296a06b50196e0191d191e15749 (patch) | |
tree | 43520eacaa705e26c4744fe1c8e1a330589b9cd9 /pkg/spec/spec.go | |
parent | 1e3e99f2fe95c8679f8962b8175038bd7d0558f2 (diff) | |
download | podman-156b6ef22230b296a06b50196e0191d191e15749.tar.gz podman-156b6ef22230b296a06b50196e0191d191e15749.tar.bz2 podman-156b6ef22230b296a06b50196e0191d191e15749.zip |
Properly retrieve Conmon PID
Our previous method (just read the PID that we spawned) doesn't
work - Conmon double-forks to daemonize, so we end up with a PID
pointing to the first process, which dies almost immediately.
Reading from the PID file gets us the real PID.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/spec/spec.go')
0 files changed, 0 insertions, 0 deletions