mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: shellcheck
This commit is contained in:
parent
040594ae74
commit
2b6daac8a9
@ -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}')"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user