summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 48faf2c..a86b07e 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -100,8 +100,8 @@ int find_main(int argc, char **argv)
if (recursiveAction(directory, TRUE, FALSE, FALSE,
fileAction, fileAction, NULL) == FALSE) {
- exit(FALSE);
+ return EXIT_FAILURE;
}
- return(TRUE);
+ return EXIT_SUCCESS;
}