cgroups: prevent segfault in cgfsng
When we set LXC_DEBUG_CGFSNG=1 we print out info about detected cgroup
hierarchies. When there's no named cgroup mounted we need to make sure that we
don't try to index an unallocated pointer.
Signed-off-by:
Christian Brauner <christian.brauner@canonical.com>
Showing
Please
register
or
sign in
to comment