This commit is contained in:
inxi-svn 2011-07-19 23:58:14 +00:00
parent d56790b717
commit 7ddc8116f3

4
inxi
View file

@ -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"