]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/TftpDynamicCommand: Return proper status
authorVladimir Olovyannikov via edk2-devel <edk2-devel@lists.01.org>
Wed, 23 Jan 2019 18:26:15 +0000 (10:26 -0800)
committerJaben Carsey <jaben.carsey@intel.com>
Fri, 25 Jan 2019 16:06:34 +0000 (08:06 -0800)
commit83463154afc699c8116a42df9184b034056c7b33
tree9c5acf16ca17d5ee7207ac88696ae9a5e3fcf640
parent9084239f3440369fcb5ff0476d9bdd9442a03258
ShellPkg/TftpDynamicCommand: Return proper status

Tftp command always returned "SHELL_NOT_FOUND" which is treated as an
error by callers. Add missing line to clean the ShellStatus on
successful operation. If operation has failed, return the error status
if available.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1487

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Reviewed-by: Songpeng Li <songpeng.li@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.c