2
0
Fork 0

osm-garmin: fix check_osm_region_exists()

main
Ducky 2023-09-26 03:11:14 +01:00
parent 6262ebeda8
commit 1708147f65
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function check_osm_region_exists() {
region="$1" region="$1"
exists="true" exists="true"
curl -ILs --fail "$(get_pbf_url "$region")" 2> /dev/null curl -ILs --fail "$(get_pbf_url "$region")" &> /dev/null
[[ $? != 0 ]] && exists="false" [[ $? != 0 ]] && exists="false"
echo $exists echo $exists