mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
ArmPlatformPkg/Bds: Fix GetConsoleDevicePathFromVariable() when SetVariable has failed
Return the Default Device Path even when SetVariable has failed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12469 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0bade1054d
commit
705b0c031f
@ -74,7 +74,7 @@ GetConsoleDevicePathFromVariable (
|
||||
// Set the environment variable with this device path multi-instances
|
||||
Size = GetDevicePathSize (DevicePathInstances);
|
||||
if (Size > 0) {
|
||||
Status = gRT->SetVariable (
|
||||
gRT->SetVariable (
|
||||
ConsoleVarName,
|
||||
&gEfiGlobalVariableGuid,
|
||||
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
|
||||
|
Loading…
x
Reference in New Issue
Block a user