From bdc0f010c17c4ed6397033023de74732ba0b05ae Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 16 Mar 2016 09:54:54 +0100 Subject: [PATCH] Set fixed dmidecode location --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"