summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 4f43f45c..c6e826eb 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -65,9 +65,9 @@ sub file_from_local_url {
}
sub db_open_or_die {
- my ($urpm, $root, $b_force) = @_;
+ my ($urpm, $root, $b_write_perm) = @_;
- my $db = URPM::DB::open($root, $b_force)
+ my $db = URPM::DB::open($root, $b_write_perm)
or $urpm->{fatal}(9, N("unable to open rpmdb"));
$db;