Commit Graph
2 Commits
Author SHA1 Message Date
Nicolas Sauzede ef1578283c Double quote to prevent globbing and word splitting. 2018-09-19 10:14:53 +02:00
Nicolas Sauzede c090439fe5 Fix cases where a CPU ucode version is not found in $procfs/cpuinfo.
When running whithin a virtual machine, it seems like $procfs/cpuinfo doesn't contain
a 'microcode' line, which triggers a script runtime error.
Fall back to '0x0' in this case, as other part of the script seems to already this
as a default value anyway.
2018-09-19 10:11:04 +02:00