summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 16:05:04 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 16:05:04 +0200
commit81734e84d30900682c3f70168919dfa3d0bbc36c (patch)
tree514289df747e935ede8b9481638557128fe604e8 /perl-install
parentf5fb51c9c0d92d8adee33bacb782a315c6b0c297 (diff)
downloaddrakx-81734e84d30900682c3f70168919dfa3d0bbc36c.tar
drakx-81734e84d30900682c3f70168919dfa3d0bbc36c.tar.gz
drakx-81734e84d30900682c3f70168919dfa3d0bbc36c.tar.bz2
drakx-81734e84d30900682c3f70168919dfa3d0bbc36c.tar.xz
drakx-81734e84d30900682c3f70168919dfa3d0bbc36c.zip
simplify
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 7fee8e554..8453bac93 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -1303,7 +1303,7 @@ sub format_ {
sub _format_raw {
my ($in, $part, $all_hds, $o_skip) = @_;
- if ($::expert && !member($part->{fs_type}, 'reiserfs', 'xfs', 'hfs', 'ntfs', 'ntfs-3g')) {
+ if ($::expert && !member($part->{fs_type}, qw(hfs ntfs ntfs-3g reiserfs xfs))) {
$part->{toFormatCheck} = $in->ask_yesorno(N("Confirmation"), N("Check for bad blocks?"));
}
$part->{isFormatted} = 0; #- force format;