aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_cstorage.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-12-01 13:41:02 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-12-01 13:42:59 +0100
commit0afaf78378f8da3a2fb58617a22baed1268b3e7b (patch)
tree4cae2ee290de1a7035bc7bfab6ae1609f816906e /libpod/runtime_cstorage.go
parent295a6f7dd086731448a1168a349f62d3035258ca (diff)
downloadpodman-0afaf78378f8da3a2fb58617a22baed1268b3e7b.tar.gz
podman-0afaf78378f8da3a2fb58617a22baed1268b3e7b.tar.bz2
podman-0afaf78378f8da3a2fb58617a22baed1268b3e7b.zip
container, cgroup: detect pid termination
If the /proc/$PID/cgroup file doesn't exist, then it is likely the container was terminated in the meanwhile so report ErrCtrStopped that is already handled instead of ENOENT. commit a66f40b4df039e94572fa38c070207a435cfa466 introduced the regression. Closes: https://github.com/containers/podman/issues/12457 [NO NEW TESTS NEEDED] it solves a race in the CI that is difficult to reproduce. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/runtime_cstorage.go')
0 files changed, 0 insertions, 0 deletions