diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:00:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:00:12 +0000 |
commit | 73c851144720e28b21a491b6250385170db9d752 (patch) | |
tree | dcc9fae4302b3d083ad7cc7a808e5d17f970bb8c /perl-install/raid.pm | |
parent | 0dc3338257439d2265c1eb13c3a66c9431c88cb5 (diff) | |
download | drakx-73c851144720e28b21a491b6250385170db9d752.tar drakx-73c851144720e28b21a491b6250385170db9d752.tar.gz drakx-73c851144720e28b21a491b6250385170db9d752.tar.bz2 drakx-73c851144720e28b21a491b6250385170db9d752.tar.xz drakx-73c851144720e28b21a491b6250385170db9d752.zip |
perl_checker adaptations + fixes
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 82fb4e0db..df2cb6cde 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -13,7 +13,7 @@ use devices; use modules; use fs; -sub max_nb { 31 } +sub max_nb() { 31 } sub nb { my ($nb) = @_; @@ -174,7 +174,7 @@ sub inactivate_and_dirty { $part->{notFormatted} = 1; $part->{isFormatted} = 0; } -sub active_mds { +sub active_mds() { map { if_(/^(md\d+) /, $1) } cat_("/proc/mdstat"); } |