diff --git a/inxi b/inxi index 4badb0c..d905300 100755 --- a/inxi +++ b/inxi @@ -4889,7 +4889,7 @@ get_dmidecode_data() { eval $LOGFS - local dmiData="" + local dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )" local dmidecodePath='' if [[ $B_DMIDECODE_SET != 'true' ]];then @@ -11976,10 +11976,10 @@ print_ram_data() device_type=${a_memory_item[6]} if [[ $B_EXTRA_EXTRA_EXTRA_DATA == 'true' && -n ${a_memory_item[7]} \ && ${a_memory_item[7]} != 'Other' ]];then - device_type="$device_type (${a_memory_item[7]}) " + device_type="$device_type (${a_memory_item[7]})" fi else - device_type='N/A ' + device_type='N/A' fi device_type="${C1}type$SEP3${C2} $device_type " if [[ -n ${a_memory_item[8]} ]];then