summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-23 08:58:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-23 08:58:09 +0000
commit070ad1335444e9bdc171f6f8d77cf759395a9db9 (patch)
tree9a6c0fa3662ee8242e0c1ebf0df952aecf380d2e /urpm.pm
parent20c991c7c9bb78508032791392df8c82ee13d111 (diff)
downloadurpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar
urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.gz
urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.bz2
urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.xz
urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.zip
db_open_or_die: better parameter name
Diffstat (limited to 'urpm.pm')
-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;