mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-22 20:33:56 +01:00
fix(atom): don't use a pcre regex, only an extended one
This commit is contained in:
parent
5b6e39916d
commit
5ab95f3656
@ -173,7 +173,7 @@ is_cpu_vulnerable()
|
||||
# https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00088&languageid=en-fr
|
||||
# model name : Genuine Intel(R) CPU N270 @ 1.60GHz
|
||||
# model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
|
||||
if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|230|330)|CPU N\d{3} )' /proc/cpuinfo; then
|
||||
if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|230|330)|CPU N[0-9]{3} )' /proc/cpuinfo; then
|
||||
variant2=1
|
||||
variant3=1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user