diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-06 19:43:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-06 19:43:56 +0000 |
commit | 301ab0a298cc5e0ef4033546a65ed40a7484aec5 (patch) | |
tree | a35e5ee7ff8c5b14ca1f1c473ba1e5797e442884 /urpm/sys.pm | |
parent | ff72490e95713c7cd55790128c3f190eb12f0f30 (diff) | |
download | urpmi-301ab0a298cc5e0ef4033546a65ed40a7484aec5.tar urpmi-301ab0a298cc5e0ef4033546a65ed40a7484aec5.tar.gz urpmi-301ab0a298cc5e0ef4033546a65ed40a7484aec5.tar.bz2 urpmi-301ab0a298cc5e0ef4033546a65ed40a7484aec5.tar.xz urpmi-301ab0a298cc5e0ef4033546a65ed40a7484aec5.zip |
(df) fix checking available space of mount point
(cautgh by perl_checker, might help mga#1342)
introduced by cfergeau in r261869 on 2009-10-13
("add df function to urpm/sys.pm")
Diffstat (limited to 'urpm/sys.pm')
-rw-r--r-- | urpm/sys.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm index 44b48d33..3e40151f 100644 --- a/urpm/sys.pm +++ b/urpm/sys.pm @@ -96,7 +96,7 @@ sub _find_a_mntpoint { sub df { my ($mntpoint) = @_; require Filesys::Df; - my $df = Filesys::Df::df("/", 1024); # ask 1kb values + my $df = Filesys::Df::df($mntpoint || "/", 1024); # ask 1kb values @$df{qw(blocks bfree)}; } |