]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
main: fix handling of return value of builtin_run_command()
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 15 Jan 2014 10:15:43 +0000 (11:15 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 15 Jan 2014 10:15:43 +0000 (11:15 +0100)
commita3cdcb3e11593c42b01b6a0dc90c0ebd1325b828
tree998c5ee5de8e7232e89766d03b1a28ab039a41f2
parent4f98bfe683d345ebf32dc8c428d8bf41487d27f5
main: fix handling of return value of builtin_run_command()

run_command() incorrectly stops after the first command that returns a
zero return value because the return value of builtin_run_command() is
checked for '1' only as success indicator.
common/main.c