[PATCH] cmd: ubifs: Do not show usage when command fails

Tom Rini trini at konsulko.com
Thu Nov 24 22:32:53 CET 2022


On Sun, Aug 07, 2022 at 09:58:56PM +0200, Pali Rohár wrote:

> Return value -1 cause U-Boot to print usage message. Return value
> 1 (CMD_RET_FAILURE) indicates failure. So fix return value when ubifs
> command starts it execution and fails.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Dhruva Gole <d-gole at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221124/a2c2d25d/attachment.sig>


More information about the U-Boot mailing list