summaryrefslogtreecommitdiffstats
path: root/virt-what.in
diff options
context:
space:
mode:
Diffstat (limited to 'virt-what.in')
-rw-r--r--virt-what.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/virt-what.in b/virt-what.in
index 870c09b..e0fdf5b 100644
--- a/virt-what.in
+++ b/virt-what.in
@@ -81,6 +81,9 @@ fi
cpuid=`virt-what-cpuid-helper`
# Check for various products in the BIOS information.
+# Note that dmidecode doesn't exist on non-PC architectures. On these,
+# this will return an error which is ignored (error message redirected
+# into $dmi variable).
dmi=`LANG=C dmidecode 2>&1`