]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/cgroup-util.c
Merge pull request #3965 from htejun/systemd-controller-on-unified
[thirdparty/systemd.git] / src / basic / cgroup-util.c
index 1ef1de0604e9d0242e30f5ee709edaa888183ac8..9b44c5a7a59492b46122f55ca8d7ea8174e255e4 100644 (file)
@@ -2378,9 +2378,9 @@ bool cg_is_unified_systemd_controller_wanted(void) {
                 return wanted;
 
         r = get_proc_cmdline_key("systemd.legacy_systemd_cgroup_controller", NULL);
-        if (r > 0) {
+        if (r > 0)
                 wanted = false;
-        else {
+        else {
                 _cleanup_free_ char *value = NULL;
 
                 r = get_proc_cmdline_key("systemd.legacy_systemd_cgroup_controller=", &value);