summaryrefslogtreecommitdiffstats
path: root/urpm/removable.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-29 11:13:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-29 11:13:21 +0000
commitcef63ab20496cff6686bf373c4875e26a906860f (patch)
tree6b2a69dc15b52a4237fb03f5bb923599a11e7b71 /urpm/removable.pm
parentbaf068fed48770a38dc621da01369848ae042dc8 (diff)
downloadurpmi-cef63ab20496cff6686bf373c4875e26a906860f.tar
urpmi-cef63ab20496cff6686bf373c4875e26a906860f.tar.gz
urpmi-cef63ab20496cff6686bf373c4875e26a906860f.tar.bz2
urpmi-cef63ab20496cff6686bf373c4875e26a906860f.tar.xz
urpmi-cef63ab20496cff6686bf373c4875e26a906860f.zip
do not pass the device around (we don't want to force a device anymore)
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 8addf002..c7d8e74d 100644
--- a/urpm/removable.pm
+++ b/urpm/removable.pm
@@ -188,7 +188,7 @@ sub _mount_cdrom {
try_umounting($urpm, $dir);
system("/usr/bin/eject '$medium->{removable}' 2>/dev/null");
- $ask_for_medium->(remove_internal_name($medium->{name}), $medium->{removable})
+ $ask_for_medium->(remove_internal_name($medium->{name}))
or $urpm->{fatal}(4, N("medium \"%s\" is not available", $medium->{name}));
}
}