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)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Sep 2009 20:58:47 +0000 (22:58 +0200)
commitf7644c0bf3502529031657a869fa213cda5a2424
tree61da127841bb3ba398aa3c91c73b0b7072b7b889
parent511c02f611cb5afa1b8ca5980caaaabaa0de377f
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