chiark / gitweb /
console: rework automatic getty on kernel console logic again
[elogind.git] / src / cgls.c
index 2940e3724bbcd584d5055bf8f067f9c7115c4444..f1f3046edfd1897d2709c43c734ed3a5349f8e54 100644 (file)
@@ -103,7 +103,7 @@ int main(int argc, char *argv[]) {
                         goto finish;
                 }
 
-                if (path_startswith(p, "/cgroup")) {
+                if (path_startswith(p, "/sys/fs/cgroup")) {
                         printf("Working Directory %s:\n", p);
                         r = show_cgroup_by_path(p, NULL, 0);
                 } else