diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-18 13:25:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-18 13:25:45 +0000 |
commit | 459eedd7dc7ef289f379d2fc1dc691a057d1e144 (patch) | |
tree | a042f6f973b37076d459c3ec80404f9e4ffaa202 /perl-install/fs.pm | |
parent | fb67876005b9f7002d56f96269da9e6fb5d03b0f (diff) | |
download | drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.gz drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.bz2 drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.tar.xz drakx-459eedd7dc7ef289f379d2fc1dc691a057d1e144.zip |
remove some unneeded ";", add some for normalization (as told by perl_checker)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 4771068e1..9bf2261d8 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -245,7 +245,7 @@ sub merge_info_from_fstab { sub get_info_from_fstab { my ($all_hds) = @_; my @l = read_fstab($::prefix, '/etc/fstab', 'keep_default'); - add2all_hds($all_hds, @l) + add2all_hds($all_hds, @l); } sub prepare_write_fstab { @@ -309,7 +309,7 @@ sub prepare_write_fstab { [ $mntpoint, $_->{comment} . join(' ', $dev, $mntpoint, $fs_type, $options || 'defaults', $freq, $passno) . "\n" ]; } else { - () + (); } } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{fs_type} && ($_->{isFormatted} || !$_->{notFormatted}) } @$fstab; @@ -617,7 +617,7 @@ sub df { if (!$part->{isMounted}) { umount($dir); - unlink($dir) + unlink($dir); } $part->{free} = 2 * $free if defined $free; |