GPU: Fix bug with sound card being detected, closes #491

This commit is contained in:
Dylan Araps 2016-12-05 09:16:51 +11:00
parent b5485bea7a
commit 4d240088be
1 changed files with 1 additions and 1 deletions

View File

@ -947,7 +947,7 @@ get_cpu_usage() {
get_gpu() {
case "$os" in
"Linux" | "GNU")
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/Display|3D|VGA/ {print $3 " " $4}')"
gpu="$(PATH="/sbin:$PATH" lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}')"
case "$gpu" in
*"advanced"*)