summaryrefslogtreecommitdiffstats
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
parent850fae8621d4417e974f9ae91de62501c23dd33e (diff)
downloaddrakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.gz
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.bz2
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.tar.xz
drakx-6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c.zip
- fix insmoding raid0 (#33172)
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/raid.pm4
2 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 7c3381880..898af721e 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix insmoding raid0 (#33172)
+
Version 10.4.189 - 4 September 2007, by Thierry Vignaud
- summary screen:
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;
}