From 1d376c8a0378f61fa21a4018694aab0c9a39ec1d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 11 May 2024 08:07:37 +0200 Subject: [PATCH] Update 30-monitoring.sh --- birdnet-pi/rootfs/custom-services.d/30-monitoring.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh index 9b44abadf..9ae350a56 100755 --- a/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh +++ b/birdnet-pi/rootfs/custom-services.d/30-monitoring.sh @@ -39,7 +39,7 @@ while true; do ############################ if (( counter <= 0 )); then - latest=$(cat "$ingest_dir/analyzing_now.txt) + latest="$(cat "$ingest_dir"/analyzing_now.txt)" if [[ "$latest" == "$analyzing_now" ]]; then echo "$(date) WARNING no change in analyzing_now for 10 iterations, restarting services" "$HOME"/BirdNET-Pi/scripts/restart_services.sh