]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Application/Shell/ShellProtocol.h
ShellPkg/Shell: Fix reporting of exit status in ShellProtocol.Execute
authorBrendan Jackman <Brendan.Jackman@arm.com>
Fri, 24 Jan 2014 22:27:11 +0000 (22:27 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 24 Jan 2014 22:27:11 +0000 (22:27 +0000)
commit5223c1213506f3a8f3c120a6620258d2b071db84
tree403527c9156dde4d1b420c0ff8f5ffee4ff4a1c8
parentfed3be946c8bff1372e106eec8cfd73524036ceb
ShellPkg/Shell: Fix reporting of exit status in ShellProtocol.Execute

When the exit status of the command run by the shell is other than
SHELL_SUCCESS, the shell image will now exit with EFI_ABORTED, placing the
commands exit status (which is a SHELL_STATUS) in ExitData.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15180 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/Shell.c
ShellPkg/Application/Shell/Shell.h
ShellPkg/Application/Shell/ShellProtocol.c
ShellPkg/Application/Shell/ShellProtocol.h