Update birdnet_analysis.sh

This commit is contained in:
ehpersonal38
2023-02-17 12:15:17 -05:00
parent b0676c8217
commit 1647604122
+1 -1
View File
@@ -103,7 +103,7 @@ run_analysis() {
itr=0
until [ -z "$(lsof -t ${1}/${i})" ];do
itr=$((itr+1))
if [ $itr -eq 30 ]; then
if [ $itr -eq $(($RECORDING_LENGTH * 3)) ]; then
echo "Maximum number of attempts exceeded. Exiting & restarting service."
exit
fi