summaryrefslogtreecommitdiffstats
path: root/urpm/bug_report.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/bug_report.pm')
-rw-r--r--urpm/bug_report.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm
index 6e243252..b01e9a94 100644
--- a/urpm/bug_report.pm
+++ b/urpm/bug_report.pm
@@ -5,9 +5,9 @@ use urpm::msg;
sub rpmdb_to_synthesis {
- my ($urpm, $synthesis, $root) = @_;
+ my ($urpm, $synthesis) = @_;
- my $db = urpm::db_open_or_die($urpm, $root);
+ my $db = urpm::db_open_or_die($urpm, $urpm->{root});
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;