aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 6388319b..7d414470 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -338,7 +338,8 @@ sub get_installed_packages {
urpm::select::add_packages_to_priority_upgrade_list('rpmdrake');
-my ($need_restart, $priority_state, $priority_requested);
+my ($priority_state, $priority_requested);
+our $need_restart;
our $probe_only_for_updates;
sub get_pkgs {