Commit 08c5fcb2 authored by Romain Courteaud's avatar Romain Courteaud

Delete temp file after execution

parent 923bfb21
......@@ -280,6 +280,9 @@ def run(config):
print "Deleting temp directory: %s" % mount_dir_path
if not dry_run:
shutil.rmtree(mount_dir_path)
print "Deleting temp file: %s" % fdisk_output_path
if not dry_run:
os.remove(fdisk_output_path)
# Copying
if not config.no_usb:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment