Skip to content

Add method CGroupDataModel::isAvailable

David Edmundson requested to merge cherry-pick-6d429604 into Plasma/5.21

This returns true if the root is pointing to a valid path. The idea being that non-systemd systems won't have applications scoped correctly, nor a relevant user slice.

This also no-ops if the directory is not available, which fixes a bug, hence backporting.

BUG: 433013

(cherry picked from commit 6d429604)

Merge request reports

Loading