fix: shellcheck

This commit is contained in:
Ben Grande 2024-01-10 14:31:57 +01:00
parent 040594ae74
commit 2b6daac8a9

View File

@ -9,6 +9,7 @@ set -eu
exclude="$(qvm-ls --no-spinner --raw-list --tags whonix-updatevm \ exclude="$(qvm-ls --no-spinner --raw-list --tags whonix-updatevm \
| sed "s/^./--exclude &/" | tr "\n" " ")" | sed "s/^./--exclude &/" | tr "\n" " ")"
# shellcheck disable=SC2086
wanted="$(qvm-ls --no-spinner --raw-data --fields=NAME,CLASS --all ${exclude} \ wanted="$(qvm-ls --no-spinner --raw-data --fields=NAME,CLASS --all ${exclude} \
| awk -v class="TemplateVM" -F "|" '$2 ~ class {print $1}')" | awk -v class="TemplateVM" -F "|" '$2 ~ class {print $1}')"