diff --git a/inxi b/inxi index d1fd378..db4a156 100755 --- a/inxi +++ b/inxi @@ -3705,8 +3705,8 @@ get_graphics_driver() aDrivers[driver]="unloaded" } } - /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 ) + /Failed.*('"$driver_list"')_drv.so|Failed.*\"('"$driver_list"')\"/ { + driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so|(.*)Failed.*\"('"$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"