summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r--urpm/removable.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm
index 73663243..8b52e3e8 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -217,7 +217,7 @@ sub copy_packages_of_removable_media {
#- check if a removable device is already mounted (and files present).
if (my ($already_mounted) = grep { !_check_notfound($urpm, $list->[$_]) } @l) {
- @l = ($already_mounted, grep { $_ ne $already_mounted_medium } @l);
+ @l = ($already_mounted, grep { $_ ne $already_mounted } @l);
}
}
foreach (@l) {