Skip to content
Commit 484408fb authored by Rabin Vincent's avatar Rabin Vincent Committed by Tom Rini
Browse files

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: default avatarRabin Vincent <rabin@rab.in>
Acked-by: default avatarSimon Glass <sjg@chromium.org)>
parent 7dbcb76e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment