[image] Skip misleading "format not recognised" error message
authorMichael Brown <mcb30@ipxe.org>
Thu, 28 Apr 2016 11:12:50 +0000 (12:12 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 28 Apr 2016 11:12:50 +0000 (12:12 +0100)
commitb696a5063e80aa68cb064a8ac0098edd31632555
tree900f4d8c28733491fad73814b353ca8df4ea0ad0
parent55e409b14fdfc6bcd51cdcdaf1ee20ad5258215d
[image] Skip misleading "format not recognised" error message

Return success (rather than failure) after an image format has been
correctly identified.

This has no practical effect, since the return value from
image_probe() is deliberately never used, but avoids a somewhat
surprising and misleading "format not recognised" error message when
debugging is enabled.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/image.c