fix trunk check issue in init script

This commit is contained in:
Georges-Antoine Assi
2025-01-07 10:50:19 -05:00
parent b904b30eed
commit e5f7a0f335

View File

@@ -123,7 +123,7 @@ stop_process_pid() {
info_log "stopping ${PROCESS}"
kill "${PID}" || true
# wait for process exit
while [ -e "/proc/${PID}" ]; do sleep 0.1; done
while [[ -e "/proc/${PID}" ]]; do sleep 0.1; done
fi
fi
}