small glitch fix, branch one

This commit is contained in:
inxi-svn 2013-08-12 21:25:43 +00:00
parent c2c58103aa
commit b2a880d201

2
inxi
View file

@ -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 ) {