diff --git a/inxi b/inxi index db4a156..c4e1089 100755 --- a/inxi +++ b/inxi @@ -1,9 +1,9 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.7.15 +#### version: 1.7.16 #### Date: July 6 2011 -#### Patch Number: 03 +#### Patch Number: 00 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -3706,9 +3706,12 @@ get_graphics_driver() } } /Failed.*('"$driver_list"')_drv.so|Failed.*\"('"$driver_list"')\"/ { - driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so|(.*)Failed.*\"('"$driver_list"')\".*/, "\\2", 1, $0 ) + driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so/, "\\2", 1, $0 ) + if ( driver == $0 ) { + driver=gensub(/(.*)Failed.*\"('"$driver_list"')\".*|fred/, "\\2", 1, $0 ) + } # we need to make sure that the driver has already been truly loaded, not just discussed - if ( driver in aDrivers ) { + if ( driver != $0 && driver in aDrivers ) { aDrivers[driver]="failed" } }