diff --git a/scripts/update_birdnet.sh b/scripts/update_birdnet.sh index af72fe5..4a0ded6 100755 --- a/scripts/update_birdnet.sh +++ b/scripts/update_birdnet.sh @@ -15,7 +15,7 @@ while getopts ":r:b:" o; do remote=${OPTARG} # Ensure that git remote is configured - git remote show $remote 2&> /dev/null || { + git remote show $remote 1&> /dev/null || { echo "Error: remote '$remote' not found. Add the upstream remote to your repository and try again." exit 1 }