summaryrefslogtreecommitdiffstats
path: root/urpm/sys.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/sys.pm')
-rw-r--r--urpm/sys.pm2
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)};
}