mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
ec1f957b23
This code is a copy-paste from cgroupv1 systemd code. Its aim is to check whether a subsystem is available, and skip those that are not. In case v2 unified hierarchy is used, getSubsystemPath never returns "not found" error, so calling it is useless. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>