Merge pull request #465 from mrunalp/bug/systemd_conmon

conmon: Fix logic for enabling systemd cgroups
This commit is contained in:
Mrunal Patel 2017-04-24 07:31:50 -07:00 committed by GitHub
commit d25b88583f

View file

@ -358,7 +358,7 @@ int main(int argc, char *argv[])
cmd = g_string_new(runtime_path);
/* Generate the cmdline. */
if (exec && systemd_cgroup)
if (!exec && systemd_cgroup)
g_string_append_printf(cmd, " --systemd-cgroup");
if (exec)