summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 7e7276fb..7bfa7418 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -246,7 +246,11 @@ foreach my $opt (@ARGV) {
}
}
-my $root = Rpmdrake::open_db::fast_open_urpmi_db()->{root};
+my $root;
+{
+ my $temp_urpm = Rpmdrake::open_db::fast_open_urpmi_db();
+ $root = $temp_urpm->{root};
+}
my ($new_distro, $no_more_supported);
my $product_id;