mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
cgroup-util: use cg_is_available() in cg_kill_supported()
This commit is contained in:
@@ -222,7 +222,7 @@ bool cg_kill_supported(void) {
|
||||
if (supported >= 0)
|
||||
return supported;
|
||||
|
||||
if (cg_all_unified() <= 0)
|
||||
if (cg_is_available() <= 0)
|
||||
return (supported = false);
|
||||
|
||||
if (access("/sys/fs/cgroup/init.scope/cgroup.kill", F_OK) >= 0)
|
||||
|
||||
Reference in New Issue
Block a user