summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 578e6cc..e8dbf06 100755
--- a/draklive
+++ b/draklive
@@ -1185,7 +1185,7 @@ sub record_usb_master {
run_('umount', $live->{mnt});
maybe_umount_device($device);
- if ($type eq 'vfat') {
+ if (get_media_setting($media, 'fs') eq 'vfat') {
mtools_run_('mattrib', '+a', '+r', '+s', '+h', '-/', '-i', $device, '::' . $_) foreach @hidden_files;
}
}