diff options
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-x | urpmi.removemedia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia index a3485282..b60c1f55 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -63,7 +63,7 @@ if ($< != 0) { $urpm->{fatal}(1, N("Only superuser is allowed to remove media")); } -my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive'); +my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive', wait => $options{wait_lock}); urpm::media::read_config($urpm); urpm::download::set_cmdline_proxy(); my @entries = map { $_->{name} } @{$urpm->{media}}; |