diff --git a/tools/pve/lxc-delete.sh b/tools/pve/lxc-delete.sh index 45d1b67b..cb413f33 100644 --- a/tools/pve/lxc-delete.sh +++ b/tools/pve/lxc-delete.sh @@ -65,7 +65,7 @@ while read -r container; do [[ "$protected" == "1" ]] && is_protected="Yes" formatted_line=$(printf "$FORMAT" "$container_name" "$container_status" "$container_os" "$is_protected") menu_items+=("$container_id" "$formatted_line" "OFF") -done <<<"$containers" +done < <(printf '%s\n' "$containers") CHOICES=$(whiptail --title "LXC Container Delete" \ --checklist "Select LXC containers to delete:\n\nNAME STATUS OS PROTECTED" 25 70 15 \