]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup-util: fix the reversed return value of cg_is_unified_systemd_contoller_wanted
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Feb 2017 17:26:53 +0000 (12:26 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Feb 2017 17:26:53 +0000 (12:26 -0500)
commit2dcb526d7a43cc4ac9493877ceb05810ff56dbae
tree8043ebf4139734e354d631659c4770b448aa1b12
parentb6629c4b9f82f5801af186e975b0220bf066ddbe
cgroup-util: fix the reversed return value of cg_is_unified_systemd_contoller_wanted

1d84ad944520fc3e062ef518c4db4e1 reversed the meaning of the option.
The kernel command line option has the opposite meaning to the function,
i.e. specifying "legacy=yes" means "unifed systemd controller=no".
src/basic/cgroup-util.c