mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
tweak
This commit is contained in:
parent
d56790b717
commit
7ddc8116f3
4
inxi
4
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"
|
||||
|
|
Loading…
Reference in a new issue