chiark / gitweb /
scope: make attachment of initial PIDs a bit more robust
[elogind.git] / src / core / execute.c
index 955090c44682942043416c58e3ad8795e2dc9929..5e4135e03086b1732cc5d806800291cea2abd27e 100644 (file)
@@ -1351,7 +1351,7 @@ static int exec_child(ExecCommand *command,
         }
 
         if (params->cgroup_path) {
-                err = cg_attach_everywhere(params->cgroup_supported, params->cgroup_path, 0);
+                err = cg_attach_everywhere(params->cgroup_supported, params->cgroup_path, 0, NULL, NULL);
                 if (err < 0) {
                         *error = EXIT_CGROUP;
                         return err;