FIX: The symbolic link to the directory appears twice during synchronization (fixes #1053)

This commit is contained in:
Alexander Koblov 2023-07-29 23:35:19 +03:00
commit dd927285d0

View file

@ -1258,7 +1258,7 @@ var
for i := 0 to fs.Count - 1 do
begin
f := fs.Items[i];
if f.IsDirectory then
if f.IsDirectory or f.IsLinkToDirectory then
begin
if (f.NameNoExt <> '.') and (f.NameNoExt <> '..') then
dirs.Add(f.Name);