mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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"
|
aDrivers[driver]="unloaded"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/Failed.*('"$driver_list"')_drv.so$/ || /Failed to load module \"('"$driver_list"')\"/ {
|
/Failed.*('"$driver_list"')_drv.so|Failed.*\"('"$driver_list"')\"/ {
|
||||||
driver=gensub(/(.*)Failed.*('"$driver_list"')_drv.so$|(.*)Failed to load module \"('"$driver_list"')\".*/, "\\2", 1, $0 )
|
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
|
# we need to make sure that the driver has already been truly loaded, not just discussed
|
||||||
if ( driver in aDrivers ) {
|
if ( driver in aDrivers ) {
|
||||||
aDrivers[driver]="failed"
|
aDrivers[driver]="failed"
|
||||||
|
|
Loading…
Reference in a new issue