diff --git a/melamine/classes.py b/melamine/classes.py index 87766c8..c6922dd 100644 --- a/melamine/classes.py +++ b/melamine/classes.py @@ -25,7 +25,7 @@ async def get_all_hardlinks(paths: Set[Path]) -> None: logger.info(f"Found hardlink: {link}") logger.info(f"Found {hardlink_count} hardlinks for {path.absolute_path}") if isinstance(path, ShredDir): - await get_all_hardlinks(path) + await get_all_hardlinks(path.contents) return paths