diff options
Diffstat (limited to 'toys/posix/find.c')
-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 9f679a02..caec80e9 100644 --- a/toys/posix/find.c +++ b/toys/posix/find.c @@ -185,7 +185,7 @@ static int do_find(struct dirtree *new) if (new) { if (new->parent) { if (!dirtree_notdotdot(new)) return 0; - if (TT.xdev && new->st.st_dev != new->parent->st.st_dev) return 0; + if (TT.xdev && new->st.st_dev != new->parent->st.st_dev) recurse = 0; } if (S_ISDIR(new->st.st_mode)) { if (!new->again) { |