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
if (!EFI_ERROR(Node2->Status)) {\r
ShellStatus = CascadeDelete(Node2, Quiet);\r
} else if (ShellStatus == SHELL_SUCCESS) {\r
- ShellStatus = Node2->Status;\r
+ ShellStatus = (SHELL_STATUS)(Node2->Status&(~0x80000000));\r
}\r
if (ShellStatus != SHELL_SUCCESS) {\r
if (List!=NULL) {\r