summaryrefslogtreecommitdiff
path: root/src/cgls/cgls.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-02 20:15:34 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-02 20:15:34 +0100
commit1eb30a4c5c14a3aa11eeb8bbee6e0fcef7eaee29 (patch)
tree9b4160bfbeabd669a7eef32b8e4cf45d79fe2b2f /src/cgls/cgls.c
parent375f1b0491568fc4e31fee95364d7c855371167e (diff)
parentb3aa622929f81b44974d182636b1fde8b2a506e5 (diff)
Merge pull request #2084 from keszybz/ppc64-fixes-2
Test fixes to run in ppc64 mock
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r--src/cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index e6277a9084..12537ae85b 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -131,7 +131,7 @@ static int get_cgroup_root(char **ret) {
if (!arg_machine) {
r = cg_get_root_path(ret);
- if (r == -ENOEXEC)
+ if (r == -ENOMEDIUM)
return log_error_errno(r, "Failed to get root control group path: No cgroup filesystem mounted on /sys/fs/cgroup");
else if (r < 0)
return log_error_errno(r, "Failed to get root control group path: %m");