find: Fix -exec return value - sbase - suckless unix tools | |
git clone git://git.suckless.org/sbase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8e18687849ad59c958becd5d9d4dbce462c34e57 | |
parent 3de61ef1aa27a4a6b8cb44d169c4d8774eb3845b | |
Author: Tavian Barnes <[email protected]> | |
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(-) | |
--- | |
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; | |
} | |
} | |