diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-18 12:29:46 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-18 12:29:46 +0000 |
commit | e476ff44c5ff503e55f6909a635474588aee6312 (patch) | |
tree | 5068bb850e54f86ec5c48d371e9485e3ce9885ec | |
parent | cd7801efff6b2f334595eb9363a317f1c7fad6d0 (diff) | |
download | draklive-e476ff44c5ff503e55f6909a635474588aee6312.tar draklive-e476ff44c5ff503e55f6909a635474588aee6312.tar.gz draklive-e476ff44c5ff503e55f6909a635474588aee6312.tar.bz2 draklive-e476ff44c5ff503e55f6909a635474588aee6312.tar.xz draklive-e476ff44c5ff503e55f6909a635474588aee6312.zip |
unlink list file if loopbacks copy fails as well
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}; |