mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
scripts/oem/ami: fix bad array subscript
Broken in 8abceaa20e10ff5f3543a54e69b5accddfd5f7b9.
This commit is contained in:
parent
96d11eb03b
commit
febf7a064e
@ -33,7 +33,7 @@ GROUP="alpha"
|
||||
REGIONS=()
|
||||
|
||||
add_region() {
|
||||
if [[ -z "${ALL_REGIONS[$1]}" ]]; then
|
||||
if [[ -z "${ALL_AKIS[$1]}" ]]; then
|
||||
echo "Invalid region '$1'" >&2;
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user