From f026de8bb17642e0dc8bb03cb09f6e283d72727f Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 8 Jan 2018 11:52:40 +0300 Subject: [PATCH] this ignores whitespace Signed-off-by: fbt --- ssm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssm b/ssm index b066e13..37216e0 100755 --- a/ssm +++ b/ssm @@ -647,7 +647,7 @@ fi # Let's see if there's a PID if [[ -f "$service_pidfile" ]]; then - service_pid = "$(<$service_pidfile)" + read -r service_pid < "$service_pidfile" # Let's see if it's running if nullexec kill -0 "$service_pid"; then