ShellPkg: remove high bit to change a EFI_STATUS to a SHELL_STATUS

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14484 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jaben Carsey 2013-07-18 15:36:55 +00:00 committed by jcarsey
parent ea8d98fa9f
commit 75a68c6969
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ CascadeDelete(
if (!EFI_ERROR(Node2->Status)) { if (!EFI_ERROR(Node2->Status)) {
ShellStatus = CascadeDelete(Node2, Quiet); ShellStatus = CascadeDelete(Node2, Quiet);
} else if (ShellStatus == SHELL_SUCCESS) { } else if (ShellStatus == SHELL_SUCCESS) {
ShellStatus = Node2->Status; ShellStatus = (SHELL_STATUS)(Node2->Status&(~0x80000000));
} }
if (ShellStatus != SHELL_SUCCESS) { if (ShellStatus != SHELL_SUCCESS) {
if (List!=NULL) { if (List!=NULL) {