aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msec_find/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec_find/find.c b/src/msec_find/find.c
index 381dc25..3959ea9 100644
--- a/src/msec_find/find.c
+++ b/src/msec_find/find.c
@@ -87,7 +87,7 @@ static int traverse(const char *file, const struct stat *sb, int flag, struct FT
(strncmp("/sys", file, 4) == 0) )
return 0;
- if (use_regexp && regexec(&exclude_regexp, file, 0, NULL, 0) == 0) {
+ if (use_regexp && (regexec(&exclude_regexp, file, 0, NULL, 0) == 0)) {
return 0;
}