commit | 5ac0026273a428cf36b752f4df25a146431b109f | [log] [tgz] |
---|---|---|
author | Thomas Betker <thomas.betker@freenet.de> | Thu Jun 05 20:07:56 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Wed Jun 11 16:25:47 2014 -0400 |
tree | ab8bfdab55cc81119814c5eb4a6ff782e88b3705 | |
parent | d9f96b6ad02064253c9f0dd2bc0f37b1e0be14a6 [diff] |
Check run_command() return code properly run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Tested-by: Stefan Roese <sr@denx.de>