mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
524803ccd6
The idea of commitd1fca8ewas right (report errors for non-existent root, unless using the default root dir) but the logic was inverted. Fix the logic. Test case for default root requires non-existent /root/runc, which is not always possible. [v1.5 backport: use GlobalIsSet] Reported-by: RedMakeUp <girafeeblue@gmail.com> Co-authored-by: RedMakeUp <girafeeblue@gmail.com> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit98c442a0e6) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>