summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-07 11:29:13 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-07 11:29:13 +0000
commit11a62e0319fcf4effe88a41ac7816d104f9ed3f7 (patch)
treea43720adff559a2bb6531ae50058b572ed462aab /perl-install/install_any.pm
parentb5b264b7698feeac32a58e14f8c5d4ba81bb52bc (diff)
downloaddrakx-11a62e0319fcf4effe88a41ac7816d104f9ed3f7.tar
drakx-11a62e0319fcf4effe88a41ac7816d104f9ed3f7.tar.gz
drakx-11a62e0319fcf4effe88a41ac7816d104f9ed3f7.tar.bz2
drakx-11a62e0319fcf4effe88a41ac7816d104f9ed3f7.tar.xz
drakx-11a62e0319fcf4effe88a41ac7816d104f9ed3f7.zip
Add a trace
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 71a0dea5f..e1b2f4e2d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -398,7 +398,7 @@ Do you have a supplementary installation media to configure?",
join ", ", uniq(sort {
(my $x) = $a =~ /CD(\d+)/;
(my $y) = $b =~ /CD(\d+)/;
- $x && $y ? $x <=> $y : $a cmp $b
+ $x && $y ? $x <=> $y : $a cmp $b;
} map { $_->{descr} } values %{$o->{packages}{mediums}})));
$o->ask_from(
'', $msg,
@@ -913,6 +913,7 @@ sub killCardServices() {
sub unlockCdrom() {
my $cdrom = cat_("/proc/mounts") =~ m!(/dev/\S+)\s+(?:/mnt/cdrom|/tmp/image)! && $1 or return;
eval { ioctl(detect_devices::tryOpen($cdrom), c::CDROM_LOCKDOOR(), 0) };
+ $@ and log::l("unlock cdrom ($cdrom) failed: $@");
}
sub openCdromTray {