From ac86f50d7b62fb16b4521c87bd2739b9c26a4f60 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 16 Apr 2010 23:35:44 +0200 Subject: [PATCH] mount-setup: detect /cgroup as API mounts --- mount-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount-setup.c b/mount-setup.c index b8028946..d2a1d0a9 100644 --- a/mount-setup.c +++ b/mount-setup.c @@ -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) { -- 2.39.5