diff options
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1183,7 +1183,7 @@ sub record_usb_master { cp_af(glob_(get_builddir($live) . $live->{prefix}{build}{files} . '/*'), $live->{mnt}); } unless $opts->{boot_only}; - my @dot_files = map { basename($_) } glob_($live->{mnt} . "/.*"); + my @dot_files = map { basename($_) } glob_($live->{mnt} . "/.*"), grep { -e $_ } $live->{mnt} . '/autorun.inf'; run_('umount', $live->{mnt}); maybe_umount_device($device); |