]> err.no Git - systemd/commitdiff
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 b80289466200e7c9be97f7511f99f2278041572f..d2a1d0a942b310b1af7496dad1e6ddedd8e3e2fe 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) {