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