summaryrefslogtreecommitdiff
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-08 19:42:58 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-08 20:35:25 +0200
commit2d76d14ea3682c1c144001449654eb0c6bbda08d (patch)
tree84474b5bcc54d06a05533c9ec510f41bab9f4ba1 /src/core/execute.c
parent816f25e86ab690da6e408bc8d5b03dae9cc1b219 (diff)
cgroup: clean-ups
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index dddef14514..5083af9aed 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);