summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/mount_options.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 57ade611f..412c55586 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -157,7 +157,7 @@ sub rationalize {
if (!fs::type::can_be_one_of_those_fs_types($part, 'vfat', 'smbfs', 'iso9660', 'udf')) {
delete $options->{'codepage='};
}
- if (fs::type::directories_needed_to_boot()) {
+ if (member($part->{mntpoint} , fs::type:: directories_needed_to_boot())) {
$options->{$_} = 0 foreach qw(users user noauto supermount);
}