aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/posix/find.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/toys/posix/find.c b/toys/posix/find.c
index fdeb2048..1c35155b 100644
--- a/toys/posix/find.c
+++ b/toys/posix/find.c
@@ -396,13 +396,11 @@ static int do_find(struct dirtree *new)
if (copy != ss[1]) free(copy);
}
} else if (!strcmp(s, "size")) {
- if (check)
- test = compare_numsign(new->st.st_size, 512, ss[1]);
+ if (check) test = compare_numsign(new->st.st_size, 512, ss[1]);
} else if (!strcmp(s, "links")) {
if (check) test = compare_numsign(new->st.st_nlink, 0, ss[1]);
} else if (!strcmp(s, "inum")) {
- if (check)
- test = compare_numsign(new->st.st_ino, 0, ss[1]);
+ if (check) test = compare_numsign(new->st.st_ino, 0, ss[1]);
} else if (!strcmp(s, "mindepth") || !strcmp(s, "maxdepth")) {
if (check) {
struct dirtree *dt = new;