Index: UefiShellBcfgCommandLib.c
===================================================================
--- UefiShellBcfgCommandLib.c	(revision 16110)
+++ UefiShellBcfgCommandLib.c	(working copy)
@@ -1503,7 +1503,7 @@
   IN CONST CHAR16      *Name
   )
 {
-  if (gShellBcfgHiiHandle) {
+  if (gShellBcfgHiiHandle != NULL) {
     return (EFI_SUCCESS);
   }
 
