From f403c342c192e96b9765ca5a039ab2d8efb94208 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Jun 2016 19:15:29 +0200 Subject: simplify --- perl-install/fs/format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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}; -- cgit v1.2.1