diff --git a/AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c b/AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c index d0aaf4cec6..32f6b4e95e 100644 --- a/AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c +++ b/AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c @@ -29,7 +29,7 @@ EntryPoint ( ) { gAdvLogHiiHandle = InitializeHiiPackage (ImageHandle); - if (gAdvLogHiiHandle) { + if (gAdvLogHiiHandle == NULL) { return EFI_ABORTED; }