mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small adjustment for force dmidecode, error message fixed.
This commit is contained in:
parent
6a2a82c1bf
commit
1e2a0d28c5
2
inxi
2
inxi
|
@ -10163,7 +10163,7 @@ print_machine_data()
|
||||||
# set A_MACHINE_DATA
|
# set A_MACHINE_DATA
|
||||||
get_machine_data
|
get_machine_data
|
||||||
|
|
||||||
if [[ -n $BSD_TYPE ]];then
|
if [[ -n $BSD_TYPE || $B_FORCE_DMIDECODE == 'true' ]];then
|
||||||
sysDmiError=''
|
sysDmiError=''
|
||||||
sysDmiNull='No machine data available. Is dmidecode installed?'
|
sysDmiNull='No machine data available. Is dmidecode installed?'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue