diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-29 14:52:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-29 14:52:45 +0000 |
commit | eff67faa909b3b52902c49a2b29cb4b153bf5cad (patch) | |
tree | 6a2887da4f747e7ab9a04eda24ec1d21461499f8 /perl-install/standalone | |
parent | d2bd722eb4a8beb960fa37311d36b66f59397828 (diff) | |
download | drakx-eff67faa909b3b52902c49a2b29cb4b153bf5cad.tar drakx-eff67faa909b3b52902c49a2b29cb4b153bf5cad.tar.gz drakx-eff67faa909b3b52902c49a2b29cb4b153bf5cad.tar.bz2 drakx-eff67faa909b3b52902c49a2b29cb4b153bf5cad.tar.xz drakx-eff67faa909b3b52902c49a2b29cb4b153bf5cad.zip |
fix check_hard_drives
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 0d5f3c4ff..dbb566322 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -44,7 +44,8 @@ sub check_hard_drives { #- do not do anything if there are many partitions #- otherwise we may add main extended partitions if ($name =~ s|/part\d+$||) { - grep { /part/ } all($name) <= 1; + my @parts = grep { /part/ } all($name); + @parts <= 1; } else { 1; } |