From ffe7932b21beba7aaa4b6150d5fdff248e3416f0 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 13 Aug 2014 03:11:40 +0000 Subject: [PATCH] brnach one, bug fix --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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