1
0

Kpti settings was not affected for regular runs

This commit is contained in:
2019-11-14 15:37:34 +00:00
parent 7b6e3a9ad6
commit 7b8cf96b4a
3 changed files with 11 additions and 0 deletions

View File

@ -264,6 +264,10 @@ func main() {
log.Fatalln("Only one of disable/enable can be used at once")
}
if *yekpti && *nokpti {
log.Fatalln("Only one of disable/enable can be used at once")
}
kcfg, err := config.ReadKernelConfig(*kcfgPath)
if err != nil {
log.Println(err)