Fix tag check
This commit is contained in:
parent
503e9be156
commit
3652194d24
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user