Skip to content
Commit 54f884bb authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Tom Rini
Browse files

cmd: misc: Fix return value for the sleep command



If sleeping has been interrupted, return CMD_RET_FAILURE instead of -1
(CMD_RET_USAGE).

Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent e89ef172
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