diff --git a/inxi b/inxi index 1ad1709..d1fd378 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.15 #### Date: July 6 2011 -#### Patch Number: 02 +#### Patch Number: 03 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -3705,8 +3705,8 @@ get_graphics_driver() aDrivers[driver]="unloaded" } } - /Failed.*('"$driver_list"')_drv.so$/ { - driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so$/, "\\2", 1, $0 ) + /Failed.*('"$driver_list"')_drv.so$/ || /Failed to load module \"('"$driver_list"')\"/ { + driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so$|(.*)Failed to load module \"('"$driver_list"')\".*/, "\\2", 1, $0 ) # we need to make sure that the driver has already been truly loaded, not just discussed if ( driver in aDrivers ) { aDrivers[driver]="failed"