bug fix for multiple gpu output

This commit is contained in:
inxi-svn 2009-11-16 22:46:52 +00:00
parent 9ebba813c9
commit 182c622d46

2
inxi
View file

@ -2205,7 +2205,7 @@ get_gpu_temp_data()
# first get the number of screens
screens=$( nvidia-settings -q screens | gawk '
/:[0-9]\.[0-9]/ {
screens=screens gensub(/(.*)(:[0-9]\.[0-9])(.*)/, "\\2", "1", $0)
screens=screens gensub(/(.*)(:[0-9]\.[0-9])(.*)/, "\\2", "1", $0) " "
}
END {
print screens