From ea59234ebdb7e6a9a331aeb0c037e4f7e8607865 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 20 Apr 2013 22:53:38 +0000 Subject: fix leaving read locks on rpmdb (mga#9248) regression introduced in commit r7280 on Feb 5 2013: "(install_logger) unify with callback_uninst(), thus fixing counting for erasures" --- urpm/install.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm/install.pm') diff --git a/urpm/install.pm b/urpm/install.pm index 0e132484..de52dca1 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -362,6 +362,7 @@ sub install { local $urpm->{trans} = $trans; @errors = $trans->run($urpm, %options); delete $urpm->{trans}; + undef $erase_logger; #- don't clear cache if transaction failed. We might want to retry. if (!@errors && !$options{test} && $options{post_clean_cache}) { -- cgit v1.2.1