Merge pull request #355 from crawford/ami

scripts/oem/ami: fix bad array subscript
This commit is contained in:
Alex Crawford 2014-11-17 15:40:16 -08:00
commit 5efe824a70

View File

@ -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