mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
RAID device names can be multi-digit
This commit is contained in:
@@ -1099,9 +1099,9 @@ else {
|
||||
local @ropts;
|
||||
foreach $c (@$conf) {
|
||||
if ($c->{'active'}) {
|
||||
$c->{'value'} =~ /(\d+)$/;
|
||||
push(@ropts, [ $c->{'value'},
|
||||
&text('linux_rdev',
|
||||
substr($c->{'value'}, -1)) ]);
|
||||
&text('linux_rdev', "$1") ]);
|
||||
$rfound++ if ($loc eq $c->{'value'});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user