summaryrefslogtreecommitdiff
path: root/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'find.c')
-rw-r--r--find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/find.c b/find.c
index 48faf2c..a86b07e 100644
--- a/find.c
+++ b/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;
}