Set LANG=C when running external dmidecode command.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 18 Jan 2011 15:34:07 +0000 (15:34 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 18 Jan 2011 15:34:07 +0000 (15:34 +0000)
virt-what.in

index 30cce75..2324f12 100644 (file)
@@ -77,7 +77,7 @@ cpuid=`virt-what-cpuid-helper`
 
 # Check for various products in the BIOS information.
 
-dmi=`dmidecode 2>&1`
+dmi=`LANG=C dmidecode 2>&1`
 
 # Check for VMware.
 # cpuid check added by Chetan Loke.