]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
tools: mkimage : bugfix returns correct value for list command
authorPrafulla Wadaskar <prafulla@marvell.com>
Mon, 10 Aug 2009 13:19:37 +0000 (18:49 +0530)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:19 +0000 (09:04 -0500)
commit40864630b29218bd0bcf711382e587bc1c02cf52
treebfeca0abd2023982b3ef4d4a38c4abc143017e1a
parentf587fed25c6db179b35f90b40784851c2ca0195d
tools: mkimage : bugfix returns correct value for list command

List command always return "EXIT_SUCCESS" even in case of
failure by any means.

This patch return 0 if list command is sucessful,
returns negative value reported by check_header functions

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/mkimage.c