language tweak, getting there

This commit is contained in:
inxi-svn 2012-03-26 22:33:18 +00:00
parent 2ffdda3578
commit 7dc1634887

2
inxi
View file

@ -6942,7 +6942,7 @@ print_machine_data()
# patch to dump all of above if dmidecode was data source and non root user
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' || ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' ]];then
system_line="${C2}No /sys/class/dmi. Using dmidecode: you must be root to use dmidecode.${CN}"
system_line="${C2}No /sys/class/dmi. Using dmidecode: you must be root to run dmidecode.${CN}"
elif [[ ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
system_line="${C2}No /sys/class/dmi. Using dmidecode: no machine data available.${CN}"
fi