summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive b/draklive
index 22678ac..2f05379 100755
--- a/draklive
+++ b/draklive
@@ -1211,6 +1211,8 @@ sub record_usb_master {
);
unlink $list_file;
if (!$r) {
+ run_('umount', $live->{mnt});
+ maybe_umount_device($device);
die "unable to copy loopback files\n";
}