Fix parens and ignore quote warning
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luke Murphy 2021-03-04 16:59:36 +01:00
parent 17306a753b
commit 7434b67c34
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 3 additions and 1 deletions

4
abra
View File

@ -1135,13 +1135,15 @@ sub_app_delete (){
prompt_confirm
fi
# shellcheck disable=SC2086
docker volume rm --force "$(docker volume ls --filter \"name=${STACK_NAME}\" --quiet)"
if [ "$abra___force" != "true" ] && [ "$abra___secrets" = "true" ]; then
warning "SCARY: About to remove all secrets associated with $[STACK_NAME]"
warning "SCARY: About to remove all secrets associated with ${STACK_NAME}"
prompt_confirm
fi
# shellcheck disable=SC2086
docker secret rm --force "$(docker secret ls --filter \"name=${STACK_NAME}\" --quiet)"
}