fix shell-check errors

This commit is contained in:
Pankaj Garg
2019-03-27 22:42:08 +00:00
committed by Grimes
parent 9abf90b443
commit 18cad565cf
2 changed files with 7 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ while getopts "h?p:Pn:c:z:gG:a:d:bu" opt; do
done
shift $((OPTIND - 1))
[[ ${#zones[@]} -gt 0 ]] || zones+=($(cloud_DefaultZone))
[[ ${#zones[@]} -gt 0 ]] || zones+=("$(cloud_DefaultZone)")
[[ -z $1 ]] || usage "Unexpected argument: $1"
if [[ $cloudProvider = ec2 ]]; then