diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-23 08:58:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-23 08:58:09 +0000 |
commit | 070ad1335444e9bdc171f6f8d77cf759395a9db9 (patch) | |
tree | 9a6c0fa3662ee8242e0c1ebf0df952aecf380d2e | |
parent | 20c991c7c9bb78508032791392df8c82ee13d111 (diff) | |
download | urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.gz urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.bz2 urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.tar.xz urpmi-070ad1335444e9bdc171f6f8d77cf759395a9db9.zip |
db_open_or_die: better parameter name
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |