mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 16:15:54 +00:00
When no GPU devices are present, 'lspci | grep -E VGA|Display|3D' returns exit code 1 (no match), which triggered the ERR trap and aborted the entire script with 'exit code 1: while executing command grep -E VGA|Display|3D'. Changes: - Add '|| true' to the initial lspci|grep pipeline - Early return with debug message when no GPU PCI devices found - Replace 'echo \ | grep' with 'grep <<<\' (herestrings) to avoid exit 1 from empty pipe on AMD/Intel/NVIDIA detection