Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-03-16 11:54:54 +0300
committermboelen <michael@cisofy.com>2016-03-16 11:54:54 +0300
commitbdc0f010c17c4ed6397033023de74732ba0b05ae (patch)
treedffea7d5176208a7b01dd052026a4f0cec6cf61a /include/functions
parentb8df6c42046cc378527129e59873b7c366105807 (diff)
Set fixed dmidecode location
Diffstat (limited to 'include/functions')
-rw-r--r--include/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions
index f8480d55..8da62b1a 100644
--- a/include/functions
+++ b/include/functions
@@ -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}"