summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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 {