]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/cgroup: drop spurious ", ignoring" for unit_cgroup_is_empty
authorMike Yuan <me@yhndnzj.com>
Wed, 5 Jun 2024 18:06:13 +0000 (20:06 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 28 Jun 2024 13:43:21 +0000 (15:43 +0200)
src/core/cgroup.c

index cfcf8ab1174ed828f4d2fd48a030ee9a869e3b77..52243067c8221bab7b17014f718aef625f73a2d6 100644 (file)
@@ -3531,8 +3531,7 @@ int unit_cgroup_is_empty(Unit *u) {
 
         r = cg_is_empty_recursive(SYSTEMD_CGROUP_CONTROLLER, crt->cgroup_path);
         if (r < 0)
-                return log_unit_debug_errno(u, r, "Failed to determine whether cgroup %s is empty, ignoring: %m", empty_to_root(crt->cgroup_path));
-
+                log_unit_debug_errno(u, r, "Failed to determine whether cgroup %s is empty: %m", empty_to_root(crt->cgroup_path));
         return r;
 }