mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Set fixed dmidecode location
This commit is contained in:
parent
b8df6c4204
commit
bdc0f010c1
1 changed files with 1 additions and 1 deletions
|
|
@ -774,7 +774,7 @@
|
|||
if [ "${SHORT}" = "" ]; then
|
||||
if [ -x /usr/sbin/dmidecode ]; then
|
||||
LogText "Test: trying to guess virtualization with dmidecode"
|
||||
FIND=`dmidecode -s system-product-name | awk '{ print $1 }'`
|
||||
FIND=`/usr/sbin/dmidecode -s system-product-name | awk '{ print $1 }'`
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
LogText "Result: found ${FIND}"
|
||||
SHORT="${FIND}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue