diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/find.c b/toys/posix/find.c index 189773c3..a1821ca3 100644 --- a/toys/posix/find.c +++ b/toys/posix/find.c @@ -295,7 +295,7 @@ static int do_find(struct dirtree *new) if (check) not = !not; continue; // Mostly ignore NOP argument - } else if (!strcmp(s, "a") || !strcmp(s, "and")) { + } else if (!strcmp(s, "a") || !strcmp(s, "and") || !strcmp(s, "noleaf")) { if (not) goto error; } else if (!strcmp(s, "print") || !strcmp("print0", s)) { |