From 4b09e658cda5e6248abe7746c0494afb3616f80a Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Wed, 18 May 2022 17:24:51 -0400 Subject: [PATCH] I think we actually want to redirect stdout --- scripts/update_birdnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }