diff options
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/raid.pm | 4 |
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; } |