]> git.sur5r.net Git - u-boot/commit
Propagate Error Status to the Shell on fw_printenv Errors
authorGrant Erickson <gerickson@nuovations.com>
Wed, 7 May 2008 03:16:15 +0000 (20:16 -0700)
committerWolfgang Denk <wd@denx.de>
Fri, 9 May 2008 21:40:40 +0000 (23:40 +0200)
commitbc11756daff89a3de09ca80adac962b88cf06e6e
tree9688c4851714884484c3e1834f272cb63e7b4cb6
parentf3b6d528e4dd719640a4bfcd954f4e4c7f5db0d6
Propagate Error Status to the Shell on fw_printenv Errors

Changed implementation such that fw_printenv returns failure status
when one or more specified variables do not exist or when incorrect
command syntax is used.

This aids scripting fw_printenv such that the script can key of the
return status rather than relying on standard error "scraping".

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/env/fw_env.c
tools/env/fw_env.h
tools/env/fw_env_main.c