diff --git a/ssm b/ssm index 120eedf..94ee5ff 100755 --- a/ssm +++ b/ssm @@ -195,7 +195,7 @@ svc() { die "$job_exit" }; trap 'svc::cleanup' TERM - printf '%s' $BASHPID > "$svc_pidfile" + printf '%s' "$BASHPID" > "$svc_pidfile" # Cgroups if cgroups; then