mirror of
https://github.com/smxi/inxi.git
synced 2025-09-01 18:19:10 +00:00
bug fix for multiple gpu output
This commit is contained in:
parent
9ebba813c9
commit
182c622d46
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -2205,7 +2205,7 @@ get_gpu_temp_data()
|
||||||
# first get the number of screens
|
# first get the number of screens
|
||||||
screens=$( nvidia-settings -q screens | gawk '
|
screens=$( nvidia-settings -q screens | gawk '
|
||||||
/:[0-9]\.[0-9]/ {
|
/:[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 {
|
END {
|
||||||
print screens
|
print screens
|
||||||
|
|
Loading…
Add table
Reference in a new issue