bug fixes

This commit is contained in:
inxi-svn 2011-05-25 00:52:04 +00:00
parent 436badf418
commit 5e093d108c

2
inxi
View file

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