summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 79cda2d8..01d1c737 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -756,7 +756,7 @@ sub add_distrib_media {
if ($url && urpm::is_local_url($url)) {
$url = _migrate_removable_url($url) or return();
my $m = { url => $url };
- urpm::removable::try_mounting_medium($urpm, $m) or return ();
+ urpm::removable::try_mounting_medium_($urpm, $m) or $urpm->{error}(N("directory %s does not exist", $url));
$distribconf = MDV::Distribconf->new(file_from_file_url($url) || $url, undef);
$distribconf->settree('mandriva');