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

Dhruva Gole d-gole at ti.com
Thu Nov 3 13:20:13 CET 2022



On 08/08/22 01:28, 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: Dhruva Gole <d-gole at ti.com>

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated



More information about the U-Boot mailing list