chiark / gitweb /
[4/5] Apply missing fixes from upstream
[elogind.git] / src / login / logind.c
index 9e637c74166c12d1d22f5ea159be1e039e24a6cd..2e4342b0aedf4af9792bae02018107ac46fca38e 100644 (file)
@@ -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);