mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +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/ {
|
/^\[.*:\sDepth.*framebuffer/ {
|
||||||
driver=gensub(/^\[.*('"$driver_list"').*:\sDepth.*framebuffer.*/, "\\1", 1, $0 )
|
driver=gensub(/^\[.*('"$driver_list"').*:\sDepth.*framebuffer.*/, "\\1", 1, $0 )
|
||||||
if ( driver == $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
|
# we need to make sure that the driver has already been truly loaded, not just discussed
|
||||||
if ( driver != $0 && driver in aDrivers ) {
|
if ( driver != $0 && driver in aDrivers ) {
|
||||||
|
|
Loading…
Reference in a new issue