Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libct/cg: fix an error of cgroup path removal
For cgroup path removal, when we try a fast way to remove the cgroup path, there may be a small possibility race to return an error, though the path was removed successfully, for example: EINTR, or other errors. Then we will fall back to the traditional path walk removal, but there is a regression if the path has been sucessfully removed, which was introduced by d3d7f7d in #4102. We should erase the ErrNotExist error when we open the cgroup path. Signed-off-by: lfbzhm <[email protected]>
- Loading branch information