OcBootManagementLib: Ignore security violation for nvram ceanup

Can happen with Microsoft GUID deletion
This commit is contained in:
vit9696 2020-03-02 08:52:28 +03:00 committed by GitHub
parent cedd2c94c7
commit 0c3fa048fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ DeleteVariables (
// may produce unpredictable results, so we restart.
//
Restart = TRUE;
} else if (Status == EFI_NOT_FOUND) {
} else if (Status == EFI_NOT_FOUND || Status == EFI_SECURITY_VIOLATION) {
DEBUG ((
DEBUG_INFO,
"Deleting %g:%s... SKIP - %r\n",