aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 7691b74f..eb887d1e 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -1048,7 +1048,7 @@ or to perform updates.")), yesno => 1) or myexit -1;
push @$already_splashed, basename($0);
}
-my $_lock;
+my $lock;
{
$urpm = urpm->new;
local $urpm->{fatal} = sub {
@@ -1060,7 +1060,7 @@ packages as well?)."));
myexit -1;
};
# lock urpmi DB
- $_lock = urpm::lock::urpmi_db($urpm, 'exclusive');
+ $lock = urpm::lock::urpmi_db($urpm, 'exclusive');
}
mainwindow();