mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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
|
||||
status='loaded'
|
||||
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'
|
||||
else
|
||||
status='unloaded'
|
||||
|
|
Loading…
Reference in a new issue