Fixes #33521, remove temp file. (#33522)

This commit is contained in:
Eric Citaire 2017-12-08 02:25:02 +01:00 committed by Jordan Borean
parent 3a634058f3
commit bcd189509e

View file

@ -538,6 +538,8 @@ def main():
changed = True
else:
changed = False
if os.path.exists(tmpsrc):
os.remove(tmpsrc)
if checksum != '':
destination_checksum = module.digest_from_file(dest, algorithm)