c645a5a5e2
Resolves: RHEL-55132,RHEL-55728,RHEL-55734,RHEL-55746
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From d41b2bdf876e0d46486c1800d5ee12a6f641a9d4 Mon Sep 17 00:00:00 2001
|
|
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
Date: Sat, 3 Aug 2024 05:48:51 +0900
|
|
Subject: [PATCH] cgroup-util: fix typo
|
|
|
|
Follow-up for 0fbb569de1dcc06118dba006cf7a40caf6cd94d0.
|
|
|
|
(cherry picked from commit ec4964692ae0e080c596610adee2ddb83008c839)
|
|
|
|
Resolves: RHEL-55746
|
|
---
|
|
src/basic/cgroup-util.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
|
|
index b0fe0ecbe8..2c64a54906 100644
|
|
--- a/src/basic/cgroup-util.c
|
|
+++ b/src/basic/cgroup-util.c
|
|
@@ -371,7 +371,7 @@ static int cg_kill_items(
|
|
if (set_get(s, PID_TO_PTR(pidref.pid)) == PID_TO_PTR(pidref.pid))
|
|
continue;
|
|
|
|
- /* Ignore kernel threads to mimick the behavior of cgroup.kill. */
|
|
+ /* Ignore kernel threads to mimic the behavior of cgroup.kill. */
|
|
if (pidref_is_kernel_thread(&pidref) > 0) {
|
|
log_debug("Ignoring kernel thread with pid " PID_FMT " in cgroup '%s'", pidref.pid, path);
|
|
continue;
|