mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
new tarball, no version change. Fix for openbsd lspci, it doesn't have the closing [...] data
This commit is contained in:
parent
f8c28ac52d
commit
482338cae2
2
inxi
2
inxi
|
@ -3580,7 +3580,7 @@ get_audio_data()
|
|||
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
|
||||
}
|
||||
else if (/^[[:space:]]*I\/O/) {
|
||||
portsTemp = gensub(/\t*I\/O ports at (.*) \[.*\]/,"\\1","g",$0)
|
||||
portsTemp = $4
|
||||
ports[audioCard] = ports[audioCard] portsTemp " "
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue