Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SetupRootless(): only reexec when needed
We should never try to reexxec when we are already root with CAP_SYS_ADMIN. The code contained a bug when --cgroups=disabled is used as it tried to perfom a reexec even when it was not needed. Fixes: 900e295 ("libpod: do not move podman with --cgroups=disabled") Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information