Fix parens and ignore quote warning

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

4
abra
View File

@ -1135,13 +1135,15 @@ sub_app_delete (){
prompt_confirm prompt_confirm
fi fi
# shellcheck disable=SC2086
docker volume rm --force "$(docker volume ls --filter \"name=${STACK_NAME}\" --quiet)" docker volume rm --force "$(docker volume ls --filter \"name=${STACK_NAME}\" --quiet)"
if [ "$abra___force" != "true" ] && [ "$abra___secrets" = "true" ]; then 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 prompt_confirm
fi fi
# shellcheck disable=SC2086
docker secret rm --force "$(docker secret ls --filter \"name=${STACK_NAME}\" --quiet)" docker secret rm --force "$(docker secret ls --filter \"name=${STACK_NAME}\" --quiet)"
} }