summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/removable.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 143f01ab..8addf002 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -161,6 +161,8 @@ sub _mount_cdrom_and_check_notfound {
sub _check_notfound {
my ($blist) = @_;
+ $blist->{medium}{mntpoint} or return;
+
foreach (values %{$blist->{list}}) {
my $dir_ = _filepath($blist->{medium}, $_) or next;
-r $dir_ or return 1;