]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
ShellPkg: BcfgDisplayDump(): accumulate errors
authorLaszlo Ersek <lersek@redhat.com>
Thu, 21 Jan 2016 18:40:05 +0000 (18:40 +0000)
committerlersek <lersek@Edk2>
Thu, 21 Jan 2016 18:40:05 +0000 (18:40 +0000)
commit8f2c09f8b2a8708db49e42bcac4cdfbccfa817d8
tree328b35a87949783813be157ef2f2ce1aa404bc9a
parent43da602cb4e14efa921a359afb9c4c06c7138eba
ShellPkg: BcfgDisplayDump(): accumulate errors

Don't exit the command immediately when a variable access fails; continue
processing after printing the error message. Let the final return status
reflect any encountered errors.

This patch is intended as a functional improvement.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19709 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c