Skip to content

Commit

Permalink
Fix to skip deleted directories
Browse files Browse the repository at this point in the history
  • Loading branch information
nzeemin committed May 18, 2024
1 parent 6a40473 commit 7e72734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BKImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ bool CBKImage::PrintCurrentDirectory(const int level, const bool recursive, std:
PrintItem(fr, level, dirpath);

// Если директория и рекурсивный обход, то идём вниз
if (recursive && fr.IsDirectory())
if (recursive && fr.IsDirectory() && (fr.nAttr & (FR_ATTR::LINK | FR_ATTR::DELETED)) == 0)
{
// Запись для возврата к текущей директории
BKDirDataItem frc;
Expand Down

0 comments on commit 7e72734

Please sign in to comment.