summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 659fbad04..72e2504e1 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -171,7 +171,7 @@ sub part_raw {
}
# Preserve UUID
- if (member($fs_type, 'swap', 'ext2', 'ext3', 'ext4')) {
+ if (member($fs_type, qw(swap ext2 ext3 ext4))) {
push @options, '-U', $part->{device_UUID} if $part->{device_UUID};
} elsif ($fs_type eq 'reiserfs') {
push @options, '-u', $part->{device_UUID} if $part->{device_UUID};