diff --git a/melamine/classes.py b/melamine/classes.py index 08789c7..58fefca 100644 --- a/melamine/classes.py +++ b/melamine/classes.py @@ -192,7 +192,7 @@ async def get_all_hardlinks(paths: Set[Union[ShredFile, ShredDir]]) -> None: logger.info(f"Getting hardlinks for {path.absolute_path}") hardlink_count = 0 path.hardlinks = set() - async for link in path.fs_handler.get_hardlinks(path.absolute_path): + async for link in path.fs_handler.get_hardlinks(path): hardlink_count += 1 path.hardlinks.add(link) logger.info(f"Found hardlink: {link}")