From: Tom Rini Date: Wed, 2 Dec 2020 16:21:53 -0500 Subject: [PATCH] Makefile: Correctly propagate failure when removing target In-Reply-To: <20201026131049.17443-1-pali@kernel.org> References: <20201026131049.17443-1-pali@kernel.org> Message-ID: <20201202212153.GO32272@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 Mon, Oct 26, 2020 at 02:10:49PM +0100, Pali Roh?r wrote: > On more places is used pattern 'command > $@ || rm -f $@'. But it does not > propagate failure from 'command' as 'rm -f' returns success. > > Fix it by calling 'false' to correctly propagate failure after 'rm -f'. > > Signed-off-by: Pali Roh?r > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: