summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive4
1 files changed, 3 insertions, 1 deletions
diff --git a/draklive b/draklive
index a59a815..cdb0d46 100755
--- a/draklive
+++ b/draklive
@@ -1188,7 +1188,9 @@ sub record_usb_master {
run_('umount', $live->{mnt});
maybe_umount_device($device);
- mtools_run_('mattrib', '+a', '+r', '+s', '+h', '-/', '-i', $device, '::' . $_) foreach @dot_files;
+ if ($type eq 'vfat') {
+ mtools_run_('mattrib', '+a', '+r', '+s', '+h', '-/', '-i', $device, '::' . $_) foreach @dot_files
+ }
}
#- $opts: