This commit is contained in:
bobokun 2023-05-20 11:38:43 -04:00
parent 4e234de7f6
commit 6ddeca80d4
No known key found for this signature in database
GPG key ID: B73932169607D927

View file

@ -392,7 +392,7 @@ class CheckHardLinks:
logger.trace(f"Checking file inum: {os.stat(file).st_ino}")
logger.trace(f"Checking file size: {file_size}")
logger.trace(f"Checking no of hard links: {file_no_hardlinks}")
logger.tract(f"Checking inode_count dict: {self.inode_count.get(os.stat(file).st_ino)}")
logger.trace(f"Checking inode_count dict: {self.inode_count.get(os.stat(file).st_ino)}")
if file_no_hardlinks - self.inode_count.get(os.stat(file).st_ino, 1) > 0 and file_size >= (
largest_file_size * threshold
):