[U-Boot-Users] [PATCH] Propagate Error Status to the Shell on fw_printenv Errors
Wolfgang Denk
wd at denx.de
Fri May 9 23:41:33 CEST 2008
In message <1210130175-1896-1-git-send-email-gerickson at nuovations.com> you wrote:
> 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 at nuovations.com>
> ---
> tools/env/fw_env.c | 19 ++++++++++++-------
> tools/env/fw_env.h | 2 +-
> tools/env/fw_env_main.c | 30 +++++++++++++++---------------
> 3 files changed, 28 insertions(+), 23 deletions(-)
Applied (with minor stylistic modifications). Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you hear an onion ring, answer it.
More information about the U-Boot
mailing list