]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Correctly report active cgroups
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 1 Oct 2012 12:22:42 +0000 (14:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Oct 2012 08:28:38 +0000 (10:28 +0200)
commit0dddd680c267eecfb0eeaa7b3a52f563089c6301
treee5f8c530f4275a1bd6e367aca708e467359dfa50
parentcd1e8d1c47abe9f481065115ea532b405a494c63
lxc: Correctly report active cgroups

There was an inverted return value in lxcCgroupControllerActive().
The function assumes cgroups are active and do couple of checks
to prove that. If any of them fails, false is returned. Therefore,
at the end, after all checks are done we must return true, not false.
src/lxc/lxc_driver.c