mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
mount-setup: detect /cgroup as API mounts
This commit is contained in:
parent
f7d0139401
commit
ac86f50d7b
@ -62,7 +62,7 @@ bool mount_point_is_api(const char *path) {
|
||||
if (path_startswith(path, mount_table[i].where))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return path_startswith(path, "/cgroup/");
|
||||
}
|
||||
|
||||
static int mount_one(const MountPoint *p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user