Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libct/cg: RemovePath: simplify logic
If the sub-cgroup RemovePath has failed for any reason, return the error right away. This way, we don't have to check for err != nil before retrying rmdir. This is a cosmetic change and should not change any functionality. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information