Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 a66f40b introduced the regression. Closes: containers#12457 [NO NEW TESTS NEEDED] it solves a race in the CI that is difficult to reproduce. Signed-off-by: Giuseppe Scrivano <[email protected]>
- Loading branch information