summaryrefslogtreecommitdiff
path: root/src/cgls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls.c')
-rw-r--r--src/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls.c b/src/cgls.c
index 2940e3724b..f1f3046edf 100644
--- a/src/cgls.c
+++ b/src/cgls.c
@@ -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