mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
branch one, bug fix
This commit is contained in:
parent
e39001ed32
commit
0f172aaf07
6
inxi
6
inxi
|
@ -4889,8 +4889,7 @@ get_dmidecode_data()
|
||||||
{
|
{
|
||||||
eval $LOGFS
|
eval $LOGFS
|
||||||
|
|
||||||
local dmiData="$( cat /home/harald/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )
|
local dmiData=""
|
||||||
"
|
|
||||||
local dmidecodePath=''
|
local dmidecodePath=''
|
||||||
|
|
||||||
if [[ $B_DMIDECODE_SET != 'true' ]];then
|
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
|
# strip out all the stuff we don't want to see in the results. We want the error data in
|
||||||
# stdout for error handling
|
# stdout for error handling
|
||||||
# DMIDECODE_DATA="$( echo "$dmiData" | gawk -F ':' '
|
# DMIDECODE_DATA="$( echo "$dmiData" | gawk -F ':' '
|
||||||
# DMIDECODE_DATA="$( $dmidecodePath 2>&1 | gawk -F ':' '
|
DMIDECODE_DATA="$( $dmidecodePath 2>&1 | gawk -F ':' '
|
||||||
DMIDECODE_DATA="$( echo "$dmiData" | gawk -F ':' '
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
IGNORECASE=1
|
IGNORECASE=1
|
||||||
cutExtraTab="false"
|
cutExtraTab="false"
|
||||||
|
|
Loading…
Reference in a new issue