Skip to content

Commit 6b6491e

Browse files
committed
fix symlink handling for external directories
1 parent 9091bb5 commit 6b6491e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ dir_list_file(parray *files, const char *root, bool exclude, bool omit_symlink,
472472
parray_qsort(black_list, BlackListCompare);
473473
}
474474

475-
file = pgFileNew(root, external_dir_num ? omit_symlink : false, omit_symlink);
475+
file = pgFileNew(root, external_dir_num ? true : false, external_dir_num);
476476
if (file == NULL)
477477
return;
478478

0 commit comments

Comments
 (0)