Skip to content

Commit

Permalink
fix: typo introduced by #483, fixes #486
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed May 18, 2024
1 parent 545a782 commit 106bd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectre-meltdown-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ update_fwdb()
_version=$(( _version ))
_version=$(printf "%08X" "$_version")
# ensure the official Intel DB always has precedence over mcedb, even if mcedb has seen a more recent fw
sqlite3 "$mcedb_tmp" "DELETE FROM \"Intel\" WHERE \"origin\" != \"intel\" AND \"cpuid\" = '$_cpuid';"
sqlite3 "$mcedb_tmp" "DELETE FROM \"Intel\" WHERE \"origin\" != 'intel' AND \"cpuid\" = '$_cpuid';"
# then insert our version
sqlite3 "$mcedb_tmp" "INSERT INTO \"Intel\" (\"origin\",\"cpuid\",\"pfmask\",\"version\",\"yyyymmdd\") VALUES ('intel','$_cpuid','$_pfmask','$_version','$_date');"
done
Expand Down

0 comments on commit 106bd89

Please sign in to comment.