From 1708147f654f6139727f6135db56d9dab6356ce5 Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 26 Sep 2023 03:11:14 +0100 Subject: [PATCH] osm-garmin: fix check_osm_region_exists() --- osm-garmin/app/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm-garmin/app/utils.sh b/osm-garmin/app/utils.sh index b0a7b44..acd3440 100644 --- a/osm-garmin/app/utils.sh +++ b/osm-garmin/app/utils.sh @@ -16,7 +16,7 @@ function check_osm_region_exists() { region="$1" exists="true" - curl -ILs --fail "$(get_pbf_url "$region")" 2> /dev/null + curl -ILs --fail "$(get_pbf_url "$region")" &> /dev/null [[ $? != 0 ]] && exists="false" echo $exists