diff options
-rw-r--r-- | urpm/bug_report.pm | 4 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 3 insertions, 3 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; @@ -388,7 +388,7 @@ urpm::media::configure($urpm, if ($bug) { require urpm::bug_report; - urpm::bug_report::rpmdb_to_synthesis($urpm, "$bug/rpmdb.cz", $urpm->{root}); + urpm::bug_report::rpmdb_to_synthesis($urpm, "$bug/rpmdb.cz"); } urpm::select::set_priority_upgrade_option($urpm, $options{previous_priority_upgrade}); |