From 0f172aaf07d2930c10633b0a90fc14ddd85e00aa Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 13 Aug 2014 03:07:41 +0000 Subject: [PATCH] branch one, bug fix --- inxi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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"