fix(pti): remove escapes since we use grep -E now

This commit is contained in:
Stéphane Lesimple 2018-01-09 16:01:44 +01:00
parent 322f4efc8f
commit b93b13263d
1 changed files with 1 additions and 1 deletions

View File

@ -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