integrations: Fix a shellcheck linter error

This commit is contained in:
Mike Lang
2016-08-17 14:28:28 +01:00
parent db5efc0537
commit e8e2b698e5

View File

@@ -39,6 +39,7 @@ function vm_names {
# Delete all vms in this account
function destroy {
local names
names="$(vm_names)"
if [ "$(gcloud compute instances list --zone "$ZONE" -q "$names" | wc -l)" -le 1 ] ; then
return 0