Debugging.

This commit is contained in:
Raphaël Numbus
2026-05-25 21:26:48 +02:00
parent 5b63d890ca
commit 8752e4ff16
+3 -6
View File
@@ -124,10 +124,9 @@ detect_graphics() {
local integrated
local pci_addr
OLD_IFS="\$IFS"
IFS=\$'n'
while read -r gpu; do
echo \$gpu >> "${REMOTE_STDERR}"
pci_addr="\$(lspci | grep VGA | head -c 7)"
# Brand
@@ -180,9 +179,7 @@ detect_graphics() {
done < <(lspci | grep -e "VGA" -e "3D" >> "${REMOTE_STDOUT}" 2>> "${REMOTE_STDERR}")
IFS="\${OLD_IFS}"
echo "\$gpus" >> ${REMOTE_STDERR}
echo "\$gpus" >> "${REMOTE_STDERR}"
append_to_report "graphics" "\$gpus"
}