diff options
Diffstat (limited to 'urpm/removable.pm')
-rw-r--r-- | urpm/removable.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/removable.pm b/urpm/removable.pm index 7da3d687..ced637bb 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -85,10 +85,8 @@ sub _try_mounting_iso { if ($mntpoint) { $urpm->{log}(N("mounting %s", $mntpoint)); - #- to mount an iso image, grab the first loop device - my $loopdev = urpm::sys::first_free_loopdev(); sys_log("mount iso $mntpoint on $iso"); - $loopdev and system('mount', $iso, $mntpoint, '-t', 'iso9660', '-o', "loop=$loopdev"); + system('mount', $iso, $mntpoint, '-t', 'iso9660', '-o', 'loop'); $urpm->{removable_mounted}{$mntpoint} = undef; } -e $mntpoint; |