diff --git a/melamine.png b/melamine.png new file mode 100644 index 0000000..f7b2f6c Binary files /dev/null and b/melamine.png differ diff --git a/melamine/shred.py b/melamine/shred.py index 45e211a..2fff49e 100644 --- a/melamine/shred.py +++ b/melamine/shred.py @@ -66,7 +66,7 @@ async def main(job: argparse.Namespace) -> bool: async def check_inode_and_unlink(item, inodes): async with semaphore: stat = await item.stat() - if await stat.st_ino in inodes: + if stat.st_ino in inodes: log_buf = f"Deleting hardlink: {item.path}" if not job.dryrun: log_buf = "DRY RUN " + log_buf