Silly ssm, search where you lost it, not where it is light

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-03-05 02:01:26 +03:00
parent 42f42182ae
commit 4bcd4cc58b

2
ssm
View File

@ -775,7 +775,7 @@ if cgroups; then
# If there's a service PID, check if it's in the service's cgroup # If there's a service PID, check if it's in the service's cgroup
if service_cgroup_strict; then if service_cgroup_strict; then
if service_pid; then if service_running; then
service_cgroup_procs u "$service_pid" || die 29 "Recorded service PID is not in the service's cgroup, bailing!" service_cgroup_procs u "$service_pid" || die 29 "Recorded service PID is not in the service's cgroup, bailing!"
fi fi
fi fi