summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-05 10:35:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-05 10:35:28 +0000
commit6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c (patch)
tree54a43b1dfad2c5da19b835e59684bfd89f2cb5ad /perl-install/raid.pm
parent850fae8621d4417e974f9ae91de62501c23dd33e (diff)
downloaddrakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.gz
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.bz2
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.xz
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.zip
- fix insmoding raid0 (#33172)
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;
}