From: Yu Watanabe Date: Mon, 25 Jun 2018 04:09:48 +0000 (+0900) Subject: core/cgroup: drop unnecessary condition X-Git-Tag: v240~1051^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4dec49f831ca5af0ad26c10eb31762e9e738c93;p=platform%2Fupstream%2Fsystemd.git core/cgroup: drop unnecessary condition --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index bb02436..d4b9bdb 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -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... */