OcBootManagementLib: Skip CurrentPolicy for cleaner log
@@ -112,8 +112,13 @@ IsDeletableVariable (
// Microsoft certificates if present
//
} else if (CompareGuid (Guid, &gMicrosoftVariableGuid)) {
+ //
+ // Do not remove current OEM policy.
+ //
+ if (StrCmp (Name, L"CurrentPolicy") != 0) {
return TRUE;
}
+ }
return FALSE;
}
