commit | 5f2c4e0129bf644dbde3c75119406eceaded2aa2 | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Fri Mar 20 19:38:17 2020 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 27 14:55:29 2020 -0400 |
tree | c73fd3853c848668d34ee8534dc581bf72a4e940 | |
parent | d16d37bcd4087b8ea0f66cb76a73edad182d151a [diff] |
CMD: random: fix return code As of today 'random' command return 1 (CMD_RET_FAILURE) in case of successful execution and 0 (CMD_RET_SUCCESS) in case of bad arguments. Fix that. NOTE: we remove printing usage information from command body so it won't print twice. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>