diff --git a/melamine/shred.py b/melamine/shred.py index 67f0bd6..cba00bb 100644 --- a/melamine/shred.py +++ b/melamine/shred.py @@ -38,6 +38,6 @@ async def main(job) -> bool: # Shred all physical files including hardlinks for path in job.paths: if isinstance(path, ShredFile): - await path.shred(job.hash, job.dryrun) + await path.shred(hash=job.exhaustive, dryrun=job.dryrun) elif isinstance(path, ShredDir): - await path.shred(job.hash, job.dryrun) + await path.shred(hash=job.exhaustive, dryrun=job.dryrun)