summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLib/UefiShellLib.c
diff options
context:
space:
mode:
authordavid wei <david.wei@intel.com>2016-07-01 15:05:48 +0800
committerdavid wei <david.wei@intel.com>2016-07-01 15:05:48 +0800
commit87f66b63d409fde7d2ea018b65a63986ba413f1f (patch)
tree27f2ff44929e3d93507ff5ade7719c0ddeb619c0 /ShellPkg/Library/UefiShellLib/UefiShellLib.c
parentba53301f509fcd092f9d52b7c6e1f7428ec00176 (diff)
parenta4c5a436c8bd9c8bef84f2642897fd5cca1dcfb6 (diff)
downloadedk2-platforms-87f66b63d409fde7d2ea018b65a63986ba413f1f.tar.xz
Merge branch 'master' of https://github.com/tianocore/edk2
Diffstat (limited to 'ShellPkg/Library/UefiShellLib/UefiShellLib.c')
-rw-r--r--ShellPkg/Library/UefiShellLib/UefiShellLib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
index cf89a4ac87..35a1a7169c 100644
--- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c
+++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
@@ -373,6 +373,8 @@ EFIAPI
ShellInitialize (
)
{
+ EFI_STATUS Status;
+
//
// if auto initialize is not false then skip
//
@@ -383,7 +385,8 @@ ShellInitialize (
//
// deinit the current stuff
//
- ASSERT_EFI_ERROR(ShellLibDestructor(gImageHandle, gST));
+ Status = ShellLibDestructor (gImageHandle, gST);
+ ASSERT_EFI_ERROR (Status);
//
// init the new stuff