From 76259e16a6f8b5bb34651db2df15005080a6e1ba Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Fri, 20 Dec 2024 16:52:25 -0800 Subject: [PATCH] Correct the logic --- AdvLoggerPkg/Application/AdvancedLogDumper/LogDumper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }