This commit is contained in:
Georges-Antoine Assi
2025-08-06 23:57:47 -04:00
parent 64493348b9
commit 4c6c36fa04

View File

@@ -212,7 +212,7 @@ start_bin_watcher() {
}
watchdog_process_pid() {
PROCESS=$2
PROCESS=$1
if [[ -f "/tmp/${PROCESS}.pid" ]]; then
# Check if the pid we last wrote to our state file is actually active
PID=$(cat "/tmp/${PROCESS}.pid") || true