conmon: Fix logic for enabling systemd cgroups
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
5dd2e10028
commit
e395afe093
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ int main(int argc, char *argv[])
|
||||||
cmd = g_string_new(runtime_path);
|
cmd = g_string_new(runtime_path);
|
||||||
|
|
||||||
/* Generate the cmdline. */
|
/* Generate the cmdline. */
|
||||||
if (exec && systemd_cgroup)
|
if (!exec && systemd_cgroup)
|
||||||
g_string_append_printf(cmd, " --systemd-cgroup");
|
g_string_append_printf(cmd, " --systemd-cgroup");
|
||||||
|
|
||||||
if (exec)
|
if (exec)
|
||||||
|
|
Loading…
Reference in a new issue