summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index e87bbb3..22678ac 100755
--- a/draklive
+++ b/draklive
@@ -1209,10 +1209,10 @@ sub record_usb_master {
'rsync', '-vdP', '--inplace', '--files-from=' . $list_file,
$loopbacks_source, $live->{mnt} . $live->{prefix}{media}{loopbacks},
);
+ unlink $list_file;
if (!$r) {
die "unable to copy loopback files\n";
}
- unlink $list_file;
cp_af(glob_(get_builddir($live) . $live->{prefix}{build}{files} . '/*'), $live->{mnt});
} unless $opts->{boot_only};