commit | 484408fb5194586b6ba6251f15cbae0c445c3bf5 | [log] [tgz] |
---|---|---|
author | Rabin Vincent <rabin@rab.in> | Wed Oct 29 23:21:39 2014 +0100 |
committer | Tom Rini <trini@ti.com> | Fri Nov 07 16:27:06 2014 -0500 |
tree | 3e32c915a86efd1292711a8c0b3598301884ec53 | |
parent | 7dbcb76e77361970f7223c1bca4fdc9bb0436a08 [diff] |
hush: return consistent codes from run_command() Attempting to run: - an empty string - a string with just spaces returns different error codes, 1 for the empty string and 0 for the string with just spaces. Make both of them return 0 for consistency. Signed-off-by: Rabin Vincent <rabin@rab.in> Acked-by: Simon Glass <sjg@chromium.org)