summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-23 19:15:29 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-24 00:56:42 +0200
commitf403c342c192e96b9765ca5a039ab2d8efb94208 (patch)
tree8038feae4c86cc639a6fb25bd4578b91b8124ef6
parenta13cd7e81288d76d0c6dc8264cae8b76e1f0ff5b (diff)
downloaddrakx-f403c342c192e96b9765ca5a039ab2d8efb94208.tar
drakx-f403c342c192e96b9765ca5a039ab2d8efb94208.tar.gz
drakx-f403c342c192e96b9765ca5a039ab2d8efb94208.tar.bz2
drakx-f403c342c192e96b9765ca5a039ab2d8efb94208.tar.xz
drakx-f403c342c192e96b9765ca5a039ab2d8efb94208.zip
simplify
-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};