]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
common/cmd_misc.c: fix return code of sleep command
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 29 Jun 2016 08:46:49 +0000 (10:46 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 29 Jun 2016 09:12:36 +0000 (11:12 +0200)
commita3b5e1ec3e52bd7624e832a612a23fc2dd432abb
treeb1ea172e0f12793e5a284cd947ed87b09bcc8c56
parentb86a63c42e39f4eb501dc923d51d2f7703aa90c7
common/cmd_misc.c: fix return code of sleep command

-1 is equivalent to CMD_RET_USAGE and makes the sleep command print
its usage information when aborted by <CTRL-C> which is most probably
not intended.
common/cmd_misc.c