summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgroup.c b/src/cgroup.c
index 182dd59eec..1f6139e25f 100644
--- a/src/cgroup.c
+++ b/src/cgroup.c
@@ -364,7 +364,7 @@ int cgroup_bonding_get(Manager *m, const char *cgroup, CGroupBonding **bonding)
assert(bonding);
b = hashmap_get(m->cgroup_bondings, cgroup);
- if (!b) {
+ if (b) {
*bonding = b;
return 1;
}