diff options
author | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-09 16:01:44 +0100 |
---|---|---|
committer | Stéphane Lesimple <speed47_github@speed47.net> | 2018-01-09 16:01:44 +0100 |
commit | b93b13263d57a54cfb338bcedbbc6b89dd22a3af (patch) | |
tree | 1206462550a4e6297bcbf8b23dfbcf84b0497b1d | |
parent | 322f4efc8f3e7d6b5026132ba5721630a6c0ef58 (diff) | |
download | spectre-meltdown-checker-b93b13263d57a54cfb338bcedbbc6b89dd22a3af.tar.lz spectre-meltdown-checker-b93b13263d57a54cfb338bcedbbc6b89dd22a3af.tar.xz spectre-meltdown-checker-b93b13263d57a54cfb338bcedbbc6b89dd22a3af.zip |
fix(pti): remove escapes since we use grep -E now
-rwxr-xr-x | spectre-meltdown-checker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 6f8d739..76eff5c 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -542,7 +542,7 @@ kpti_support=0 kpti_can_tell=0 if [ -n "$opt_config" ]; then kpti_can_tell=1 - if grep -Eq '^\(CONFIG_PAGE_TABLE_ISOLATION\|CONFIG_KAISER\)=y' "$opt_config"; then + if grep -Eq '^(CONFIG_PAGE_TABLE_ISOLATION|CONFIG_KAISER)=y' "$opt_config"; then kpti_support=1 fi fi |