find: Fix -exec return value - sbase - suckless unix tools
HTML git clone git://git.suckless.org/sbase
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8e18687849ad59c958becd5d9d4dbce462c34e57
DIR parent 3de61ef1aa27a4a6b8cb44d169c4d8774eb3845b
HTML Author: Tavian Barnes <tavianator@tavianator.com>
Date: Wed, 26 Mar 2025 19:58:11 +0100
find: Fix -exec return value
Diffstat:
M find.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/find.c b/find.c
@@ -434,7 +434,7 @@ pri_exec(struct arg *arg)
**brace = arg->path;
status = spawn(e->argv);
- return !!status;
+ return !status;
}
}