]> err.no Git - systemd/commit
cgroup: fix inverted condition
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 10 Feb 2012 01:53:10 +0000 (02:53 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 10 Feb 2012 01:57:45 +0000 (02:57 +0100)
commit5c72face73e89610a5b926c42fc8e0223bf546a2
treefce3c8e2aeec41387c1f0783cc616c644d22626b
parent1b73da108b5ff27bae677de146cb51cb5bbfd4ce
cgroup: fix inverted condition

A bug was introduced in acb14d3 "cgroup: when getting cgroup empty
notifications, always search up the tree".

When the given cgroup is found the hashmap, we should be happy and
return it, not go looking up the tree for another one.

Fixes the hanging NetworkManager on shutdown for me.
src/cgroup.c