X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcgtop%2Fcgtop.c;h=9eb2d2fdebd108080ba9caaf2ecabb1acfed7880;hb=e88baee88fad8bc59d33b55a7a2d640ef9e16cd6;hp=3756328fa7b7df80b93dd2cac249efb597c7712d;hpb=1421211924ff05af3b0c0d52f1c84472d0307456;p=elogind.git diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index 3756328fa..9eb2d2fde 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -300,7 +300,7 @@ static int refresh_one( r = cg_enumerate_subgroups(controller, path, &d); if (r < 0) { - if (r == ENOENT) + if (r == -ENOENT) return 0; return r;