chiark / gitweb /
mount-setup: detect /cgroup as API mounts
authorLennart Poettering <lennart@poettering.net>
Fri, 16 Apr 2010 21:35:44 +0000 (23:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Apr 2010 21:35:44 +0000 (23:35 +0200)
mount-setup.c

index b802894..d2a1d0a 100644 (file)
@@ -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) {