mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
small glitch fix, branch one
This commit is contained in:
parent
c2c58103aa
commit
b2a880d201
2
inxi
2
inxi
|
@ -4739,7 +4739,7 @@ get_graphics_driver()
|
|||
/^\[.*:\sDepth.*framebuffer/ {
|
||||
driver=gensub(/^\[.*('"$driver_list"').*:\sDepth.*framebuffer.*/, "\\1", 1, $0 )
|
||||
if ( driver == $0 ) {
|
||||
gensub(/^\[.*('"$driver_list"').*:\sDepth.*framebuffer.*|fred/, "\\1", 1, $0 )
|
||||
gensub(/^\[.*\"('"$driver_list"')\".*:\sDepth.*framebuffer.*|fred/, "\\1", 1, $0 )
|
||||
}
|
||||
# we need to make sure that the driver has already been truly loaded, not just discussed
|
||||
if ( driver != $0 && driver in aDrivers ) {
|
||||
|
|
Loading…
Reference in a new issue