]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.c
ShellPkg: Update behavior for GetTime() errors.
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel3CommandsLib / UefiShellLevel3CommandsLib.c
index ef708cb17c0caffb1af1fc584e9f57370a1e9e40..e784872d6319a26b8bada96646866317540875d2 100644 (file)
 \r
 CONST CHAR16 gShellLevel3FileName[] = L"ShellCommands";\r
 EFI_HANDLE gShellLevel3HiiHandle = NULL;\r
-STATIC CONST EFI_GUID gShellLevel3HiiGuid = \\r
-  { \\r
-    0x4344558d, 0x4ef9, 0x4725, { 0xb1, 0xe4, 0x33, 0x76, 0xe8, 0xd6, 0x97, 0x4f } \\r
-  };\r
 \r
 /**\r
   return the filename to get help from is not using HII.\r
@@ -57,7 +53,7 @@ ShellLevel3CommandsLibConstructor (
   // if shell level is less than 3 do nothing\r
   //\r
   if (PcdGet8(PcdShellSupportLevel) < 3) {\r
-    return (EFI_UNSUPPORTED);\r
+    return (EFI_SUCCESS);\r
   }\r
 \r
   gShellLevel3HiiHandle = HiiAddPackages (&gShellLevel3HiiGuid, gImageHandle, UefiShellLevel3CommandsLibStrings, NULL);\r