From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 10 Nov 2014 16:26:59 -0500 Subject: [U-Boot] [U-Boot, 3/6] hush: return consistent codes from run_command() In-Reply-To: <1414621302-32062-3-git-send-email-rabin@rab.in> References: <1414621302-32062-3-git-send-email-rabin@rab.in> Message-ID: <20141110212659.GT24724@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 29, 2014 at 11:21:39PM +0100, Rabin Vincent wrote: > 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 > Acked-by: Simon Glass