branch one, bug fix

This commit is contained in:
inxi-svn 2014-08-13 03:07:41 +00:00
parent e39001ed32
commit 0f172aaf07

6
inxi
View file

@ -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"