From 14960319a67313e4c972e295d3bf0d18a7f32acc Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 5 Mar 2022 19:28:08 +0100 Subject: [PATCH] Fix find(1) always failing on exec plus. --- utils/find.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/find.c b/utils/find.c index f9496f4c..7de8f953 100644 --- a/utils/find.c +++ b/utils/find.c @@ -501,7 +501,8 @@ static int evaluate(const struct expr* expr, { // TODO: Merge multiple paths into single invocations. value = true; - result &= ~SUCCESS; + if ( !success ) + result &= ~SUCCESS; } else value = success;