4
ssm
4
ssm
@@ -151,9 +151,7 @@ spawn() {
|
||||
|
||||
cgroup_get_procs() {
|
||||
if service_cgroup_path is dir; then
|
||||
while read -r line; do
|
||||
service_cgroup_procs += "$line"
|
||||
done < "$cgroup_home/$service_cgroup_name/cgroup.procs"
|
||||
mapfile -t service_cgroup_procs < "$cgroup_home/$service_cgroup_name/cgroup.procs"
|
||||
fi
|
||||
}; readonly -f cgroup_get_procs
|
||||
|
||||
|
Reference in New Issue
Block a user