summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-16 23:35:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-16 23:35:44 +0200
commitac86f50d7b62fb16b4521c87bd2739b9c26a4f60 (patch)
treead3651d0e25e94517432948bb8d638f789433499
parentf7d0139401aa526f3df72cb45cff38f648737623 (diff)
mount-setup: detect /cgroup as API mounts
-rw-r--r--mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount-setup.c b/mount-setup.c
index b802894662..d2a1d0a942 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) {