Correct return code from builtin_run_command_list()
authorSimon Glass <sjg@chromium.org>
Fri, 30 May 2014 20:41:51 +0000 (14:41 -0600)
committerTom Rini <trini@ti.com>
Thu, 5 Jun 2014 18:38:38 +0000 (14:38 -0400)
commit4eb580b780057413ddc82855d913ea2f1cbc9dd2
tree991433a30c40dd753ae5ff63c48f133c7660d4a7
parent587e1d43e786ad70ce52a47f74b98d785098e378
Correct return code from builtin_run_command_list()

The return code is not consistent with cli_simple_run_command_list(). For the
last command in a sequence, the return code is actually inverted.

Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cli_simple.c