mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-22 20:33:56 +01:00
fix(pti): remove escapes since we use grep -E now
This commit is contained in:
parent
322f4efc8f
commit
b93b13263d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user