Update update-lxcs.sh

tweak
pull/1392/head
tteckster 2023-04-30 04:20:16 -04:00 committed by GitHub
parent 2ca3e77bea
commit 485444b07d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function update_container() {
esac esac
} }
header_info header_info
for container in $(pct list | tail -n +2 | cut -f1 -d' '); do for container in $(pct list | awk '{if(NR>1) print $1}'); do
excluded=false excluded=false
for excluded_container in "${excluded_containers[@]}"; do for excluded_container in "${excluded_containers[@]}"; do
if [ "$container" == "$excluded_container" ]; then if [ "$container" == "$excluded_container" ]; then