X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind.c;h=2e4342b0aedf4af9792bae02018107ac46fca38e;hp=9e637c74166c12d1d22f5ea159be1e039e24a6cd;hb=d2338db3145922b1dfcb3b458e5bce2568a9347a;hpb=3b22396a4b2767a98172f6915929c47738cb0a1e diff --git a/src/login/logind.c b/src/login/logind.c index 9e637c741..2e4342b0a 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -218,7 +218,7 @@ static void manager_free(Manager *m) { /* Avoid the creation of new processes forked by the * kernel; at this point, we will not listen to the * signals anyway */ - if (detect_container(NULL) <= 0) + if (detect_container() <= 0) (void) cg_uninstall_release_agent(SYSTEMD_CGROUP_CONTROLLER); manager_shutdown_cgroup(m, true);