FIX: Calculate hash for directory with symlink to directory

This commit is contained in:
Alexander Koblov 2020-01-14 18:07:05 +00:00
commit 712ec209d1

View file

@ -165,7 +165,7 @@ begin
UpdateStatistics(FStatistics);
if not aFile.IsDirectory then
if not (aFile.IsDirectory or aFile.IsLinkToDirectory) then
begin
// If there will be an error in ProcessFile the DoneBytes value
// will be inconsistent, so remember it here.