mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
Merge pull request #355 from crawford/ami
scripts/oem/ami: fix bad array subscript
This commit is contained in:
commit
5efe824a70
@ -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