summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 8ad3c2e1..6527815d 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1343,7 +1343,7 @@ sub upload_source_packages {
#- mount everything necessary.
unless ($urpm->try_mounting($dir, 'mount')) {
$urpm->try_mounting($dir, 'unmount'); system("eject", $device);
- $ask_for_medium->($medium->{name}, $medium->{removable}) or last;
+ $ask_for_medium->($medium->{name}, $medium->{removable}) or die "removable medium not selected";
}
}
if (-e $dir) {