未验证 提交 471ea9ad 编写于 作者: V vit9696 提交者: GitHub

OcBootManagementLib: Skip CurrentPolicy for cleaner log

上级 0c3fa048
......@@ -112,7 +112,12 @@ IsDeletableVariable (
// Microsoft certificates if present
//
} else if (CompareGuid (Guid, &gMicrosoftVariableGuid)) {
return TRUE;
//
// Do not remove current OEM policy.
//
if (StrCmp (Name, L"CurrentPolicy") != 0) {
return TRUE;
}
}
return FALSE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册