osm-garmin: fix check_osm_region_exists()
This commit is contained in:
parent
6262ebeda8
commit
1708147f65
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue