mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Fix tag check
This commit is contained in:
@@ -84,7 +84,7 @@ while read -r container; do
|
||||
container_name=$(echo $container | awk '{print $2}')
|
||||
container_status=$(echo $container | awk '{print $3}')
|
||||
formatted_line=$(printf "$FORMAT" "$container_name" "$container_status")
|
||||
if pct config $container | grep -E "^tags:.*(${TAGS}).*"; then
|
||||
if pct config "$container_id" | grep -qE "^tags:.*(${TAGS}).*"; then
|
||||
menu_items+=("$container_id" "$formatted_line" "OFF")
|
||||
fi
|
||||
done <<< "$containers"
|
||||
|
||||
Reference in New Issue
Block a user