From 4bcd4cc58bd09c40c10a5aa1afc2e050b4339240 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 5 Mar 2018 02:01:26 +0300 Subject: [PATCH] Silly ssm, search where you lost it, not where it is light Signed-off-by: fbt --- ssm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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