Skip to content

Commit

Permalink
AdvancedLogDumper: Fixed application logic to not bail all the time (#…
Browse files Browse the repository at this point in the history
…615)

## Description

The current logic will bail if the HII calls are successful. This change
fixes it.

For details on how to complete these options and their meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).

- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
- [x] Backport to release branch?

## How This Was Tested

This was tested on proprietary hardware platform and fixed the issue.

## Integration Instructions

N/A
  • Loading branch information
kuqin12 authored and ProjectMuBot committed Dec 21, 2024
1 parent ee86c72 commit eccbb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ EntryPoint (
)
{
gAdvLogHiiHandle = InitializeHiiPackage (ImageHandle);
if (gAdvLogHiiHandle) {
if (gAdvLogHiiHandle == NULL) {
return EFI_ABORTED;
}

Expand Down

0 comments on commit eccbb05

Please sign in to comment.