mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
Fix reference to job.hash which should check
for the exhaustive flag from CLI invoke
This commit is contained in:
parent
6269c27244
commit
5a4d74936b
1 changed files with 2 additions and 2 deletions
|
@ -38,6 +38,6 @@ async def main(job) -> bool:
|
||||||
# Shred all physical files including hardlinks
|
# Shred all physical files including hardlinks
|
||||||
for path in job.paths:
|
for path in job.paths:
|
||||||
if isinstance(path, ShredFile):
|
if isinstance(path, ShredFile):
|
||||||
await path.shred(job.hash, job.dryrun)
|
await path.shred(hash=job.exhaustive, dryrun=job.dryrun)
|
||||||
elif isinstance(path, ShredDir):
|
elif isinstance(path, ShredDir):
|
||||||
await path.shred(job.hash, job.dryrun)
|
await path.shred(hash=job.exhaustive, dryrun=job.dryrun)
|
||||||
|
|
Loading…
Reference in a new issue