diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-03-07 22:12:46 -0800 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-03-07 22:13:10 -0800 |
commit | aafdd8eead6b5856b9adecdbcec86acc194b8af0 (patch) | |
tree | 91bf8afb2474efeed893ea35ab33847072c58f92 /eval.c | |
parent | 0689a4a16f5e80e0c2368f4a68c69ce5f2fdc038 (diff) | |
download | bfs-aafdd8eead6b5856b9adecdbcec86acc194b8af0.tar.xz |
eval: Fix -unique with -depth
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1256,7 +1256,7 @@ static enum bftw_action cmdline_callback(struct BFTW *ftwbuf, void *ptr) { goto done; } - if (cmdline->unique) { + if (cmdline->unique && ftwbuf->visit == BFTW_PRE) { if (!eval_file_unique(&state, args->seen)) { goto done; } |