summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-02-01 14:46:25 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-02-01 14:46:25 +0000
commit6fe3b5f900679d28e844757af7abce501dde6246 (patch)
tree4fb44b0effd220b518c3ee400c3ccaaedb995d09
parent97682ffb6f52cd89e5c95e3f546035224c8e4f05 (diff)
downloadvirt-what-6fe3b5f900679d28e844757af7abce501dde6246.tar.gz
virt-what-6fe3b5f900679d28e844757af7abce501dde6246.tar.xz
virt-what-6fe3b5f900679d28e844757af7abce501dde6246.zip
Add note about dmidecode on non-PC architectures (thanks Matt Booth).
-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`