From: Lennart Poettering Date: Fri, 16 Apr 2010 21:35:44 +0000 (+0200) Subject: mount-setup: detect /cgroup as API mounts X-Git-Tag: 0.git+20100605+dfd8ee-1~107 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac86f50d7b62fb16b4521c87bd2739b9c26a4f60;p=systemd mount-setup: detect /cgroup as API mounts --- 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) {