diff --git a/inxi b/inxi index dea2cbd..4badb0c 100755 --- a/inxi +++ b/inxi @@ -4889,8 +4889,7 @@ get_dmidecode_data() { eval $LOGFS - local dmiData="$( cat /home/harald/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt ) -" + local dmiData="" local dmidecodePath='' if [[ $B_DMIDECODE_SET != 'true' ]];then @@ -4904,8 +4903,7 @@ get_dmidecode_data() # strip out all the stuff we don't want to see in the results. We want the error data in # stdout for error handling # DMIDECODE_DATA="$( echo "$dmiData" | gawk -F ':' ' - # DMIDECODE_DATA="$( $dmidecodePath 2>&1 | gawk -F ':' ' - DMIDECODE_DATA="$( echo "$dmiData" | gawk -F ':' ' + DMIDECODE_DATA="$( $dmidecodePath 2>&1 | gawk -F ':' ' BEGIN { IGNORECASE=1 cutExtraTab="false"