diff options
| author | Pali Rohár <[email protected]> | 2022-08-07 21:58:56 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-11-23 13:06:12 -0500 |
| commit | 18538112878bdf3da28143d59a11667e0e2e3a1c (patch) | |
| tree | a7ed2152c71067dbb32350527efb75344de98067 /include/linux/linux_string.h | |
| parent | 6b752c729e3ae22abbb2e854c87290115901b975 (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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
