core/cgroup: drop unnecessary condition

This commit is contained in:
Yu Watanabe 2018-06-25 13:09:48 +09:00
parent 0ceff9068d
commit b4dec49f83
1 changed files with 1 additions and 1 deletions

View File

@ -2260,7 +2260,7 @@ int manager_setup_cgroup(Manager *m) {
if (m->pin_cgroupfs_fd < 0)
return log_error_errno(errno, "Failed to open pin file: %m");
} else if (r < 0 && !m->test_run_flags)
} else if (!m->test_run_flags)
return log_error_errno(r, "Failed to create %s control group: %m", scope_path);
/* 7. Always enable hierarchical support if it exists... */