diff --git a/ssm b/ssm index 9e8af31..1a6caa0 100755 --- a/ssm +++ b/ssm @@ -775,7 +775,7 @@ if cgroups; then # If there's a service PID, check if it's in the service's cgroup 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!" fi fi