summaryrefslogtreecommitdiffstats
path: root/urpm/bug_report.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-01 12:12:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-01 12:12:09 +0000
commit146c51874702fa7383065e3656e74205f5537148 (patch)
treef4bb487453bf36141aa7b9791315d3e57142cbb6 /urpm/bug_report.pm
parent232693530f1b74e83279e3318c1ed4f566a0e1d4 (diff)
downloadurpmi-146c51874702fa7383065e3656e74205f5537148.tar
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.gz
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.bz2
urpmi-146c51874702fa7383065e3656e74205f5537148.tar.xz
urpmi-146c51874702fa7383065e3656e74205f5537148.zip
use db_open_or_die_()
Diffstat (limited to 'urpm/bug_report.pm')
-rw-r--r--urpm/bug_report.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm
index b01e9a94..05b34d0a 100644
--- a/urpm/bug_report.pm
+++ b/urpm/bug_report.pm
@@ -7,7 +7,7 @@ use urpm::msg;
sub rpmdb_to_synthesis {
my ($urpm, $synthesis) = @_;
- my $db = urpm::db_open_or_die($urpm, $urpm->{root});
+ my $db = urpm::db_open_or_die_($urpm);
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;