Re: git: d3c788feec4c - main - Makefile.inc1: Don't unnecessarily ignore rm errors

From: Enji Cooper (yaneurabeya) <yaneurabeya_at_gmail.com>
Date: Fri, 09 Oct 2026 18:44:57 UTC
> On Oct 9, 2026, at 8:10 AM, Ed Maste <emaste@FreeBSD.org> wrote:
> 
> The branch main has been updated by emaste:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=d3c788feec4cbe0854dc6f72e2166c0423a7c118
> 
> commit d3c788feec4cbe0854dc6f72e2166c0423a7c118
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2024-08-19 16:03:13 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2026-10-09 15:06:46 +0000
> 
>    Makefile.inc1: Don't unnecessarily ignore rm errors
> 
>    For rm -f it's not an error if the files do not exist.  If there's any
>    other error it's presumably a real issue, so avoid ignoring all errors.

Agreed (in the general case) unless it’s a clean target.
-Enji