X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.c;h=5083af9aedec5b4011b55a3f6fbe7900d69b21cd;hb=4e6db59202ad2dbbef56a69985643390ffdd57bd;hp=dddef145140fcb7949c01c951e323c4adad27fb6;hpb=974efc46586854b1f23ccf153b36199c77919de6;p=elogind.git diff --git a/src/core/execute.c b/src/core/execute.c index dddef1451..5083af9ae 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1547,8 +1547,7 @@ int exec_spawn(ExecCommand *command, * outside of the cgroup) and in the parent (so that we can be * sure that when we kill the cgroup the process will be * killed too). */ - if (cgroup_bondings) - cgroup_bonding_install_list(cgroup_bondings, pid, cgroup_suffix); + cgroup_bonding_install_list(cgroup_bondings, pid, cgroup_suffix); exec_status_start(&command->exec_status, pid);