diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-29 11:13:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-29 11:13:21 +0000 |
commit | cef63ab20496cff6686bf373c4875e26a906860f (patch) | |
tree | 6b2a69dc15b52a4237fb03f5bb923599a11e7b71 /urpm | |
parent | baf068fed48770a38dc621da01369848ae042dc8 (diff) | |
download | urpmi-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')
-rw-r--r-- | urpm/removable.pm | 2 |
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})); } } |