commit | 63d3d975476767a4d4bd535675654a308febe401 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Aug 07 21:58:56 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Nov 23 13:06:12 2022 -0500 |
tree | a7ed2152c71067dbb32350527efb75344de98067 | |
parent | 9272206123034994121ad8dbaae52fac5ab08bce [diff] |
cmd: ubifs: Do not show usage when command fails 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@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Dhruva Gole <d-gole@ti.com>