mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-01-08 02:10:27 +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
|
kpti_can_tell=0
|
||||||
if [ -n "$opt_config" ]; then
|
if [ -n "$opt_config" ]; then
|
||||||
kpti_can_tell=1
|
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
|
kpti_support=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user