Skip to content
Commit 5f2c4e01 authored by Eugeniy Paltsev's avatar Eugeniy Paltsev Committed by Tom Rini
Browse files

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: default avatarEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d16d37bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment