mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
bug fixes
This commit is contained in:
parent
436badf418
commit
5e093d108c
2
inxi
2
inxi
|
@ -3228,7 +3228,7 @@ get_graphics_driver()
|
||||||
if [[ -z $( grep -si "[[:space:]]Unload.*${driver}" <<< "$xorg_log_data" ) ]];then
|
if [[ -z $( grep -si "[[:space:]]Unload.*${driver}" <<< "$xorg_log_data" ) ]];then
|
||||||
status='loaded'
|
status='loaded'
|
||||||
else
|
else
|
||||||
if [[ -n $( grep -si "Failed[[:space:]]to[[:space:]]load[[:space:]]module.*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then
|
if [[ -n $( grep -si "Failed[[:space:]]to[[:space:]]load[[:space:]].*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then
|
||||||
status='failed'
|
status='failed'
|
||||||
else
|
else
|
||||||
status='unloaded'
|
status='unloaded'
|
||||||
|
|
Loading…
Reference in a new issue