summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 91b470964..4e711a217 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -85,7 +85,7 @@ sub part_raw {
my $fs_type = $part->{fs_type};
- if ($fs_type eq 'ext2' || $fs_type eq 'ext3') {
+ if (member($fs_type, qw(ext2 ext3))) {
push @options, "-m", "0" if $part->{mntpoint} =~ m|^/home|;
} elsif (isDos($part)) {
$fs_type = 'dos';