commit | 401ac65199fe94905a86c1f76abde1ffe38e9692 | [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 | 7e0194a2c9d63f9d83ff51e40f1257084f23a87a [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)