forgot to remove debugger on switch

This commit is contained in:
inxi-svn 2014-08-15 23:55:27 +00:00
parent 718d6f9dea
commit 04b84edb24
2 changed files with 14 additions and 3 deletions

6
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi
#### Version: 2.1.96
#### Date: 2014-08-15
#### Patch Number: 01
#### Patch Number: 02
########################################################################
#### SPECIAL THANKS
########################################################################
@ -4888,7 +4888,7 @@ get_dmidecode_data()
{
eval $LOGFS
local dmiData="" b_debugger='true'
local dmiData="" b_debugger='false'
if [[ $B_DMIDECODE_SET != 'true' ]];then
dmidecodePath=$( type -p dmidecode 2>/dev/null )
@ -4901,7 +4901,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
if [[ $b_debugger == 'true' ]];then
dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )"
dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-2.txt )"
else
dmiData="$( $dmidecodePath 2>&1 )"
fi

View file

@ -1,3 +1,14 @@
=====================================================================================
Version: 2.1.96
Patch Version: 02
Script Date: 2014-08-15
-----------------------------------
Changes:
-----------------------------------
forgot to remove debugger on switch
-----------------------------------
-- Harald Hope - Fri, 15 Aug 2014 16:55:04 -0700
=====================================================================================
Version: 2.1.96
Patch Version: 01