summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 91b6e9faf..220d4d1ce 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -101,8 +101,8 @@ sub module {
if (member($level, 4, 5, 6)) {
'raid456';
- } elsif ($level eq '1') {
- 'raid1';
+ } elsif ($level =~ /^\d+$/) {
+ "raid$level";
} else {
$level;
}