diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-05 10:35:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-05 10:35:28 +0000 |
commit | 6350cc9f4b3d2cdb67566f3c582c991d72a6cf5c (patch) | |
tree | 54a43b1dfad2c5da19b835e59684bfd89f2cb5ad /perl-install/raid.pm | |
parent | 850fae8621d4417e974f9ae91de62501c23dd33e (diff) | |
download | drakx-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.pm | 4 |
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; } |