summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index 8c93f538..cc0e1aca 100755
--- a/urpmf
+++ b/urpmf
@@ -194,7 +194,7 @@ if ($env) {
$urpm->{statedir} = $env;
}
-my $_lock = urpm::lock::urpmi_db($urpm, '', 'nofatal');
+my $_lock = urpm::lock::urpmi_db($urpm, '', nofatal => 1, wait => $options{wait_lock});
my $need_hdlist = grep { $usedtags{$_} } qw(
buildhost
buildtime