Re: [PATCH v2 28/53] klp-build: Fix patch cleanup on interrupt

From: Miroslav Benes

Date: Tue May 05 2026 - 07:49:47 EST


On Thu, 30 Apr 2026 21:08:16 -0700, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> If a build error occurs and the user hits Ctrl-C while a large patch is
> being reverted during cleanup, the cleanup EXIT trap gets re-triggered
> and tries to re-revert the already partially-reverted patch. That
> causes 'patch -R' to repeatedly prompt
>
> "Unreversed patch detected! Ignore -R? [n]"
>
> [...]

Reviewed-by: Miroslav Benes <mbenes@xxxxxxx>

--
Miroslav