From e97da80fbb639e90ae017d4ef2d39ceb69f59f2b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Mar 2004 15:05:32 +0000 Subject: keyboard::load() causes some errors on kernel 2.4, ignoring them --- perl-install/keyboard.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index aa1ca9234..7a71e84e5 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -399,10 +399,10 @@ sub load { my $table_index = $::i; if (!$_) { #- deallocate table - ioctl($F, c::KDSKBENT(), pack("CCS", $table_index, 0, c::K_NOSUCHMAP())) or die "removing table $table_index failed: $!"; + ioctl($F, c::KDSKBENT(), pack("CCS", $table_index, 0, c::K_NOSUCHMAP())) or log::l("removing table $table_index failed: $!"); } else { each_index { - ioctl($F, c::KDSKBENT(), pack("CCS", $table_index, $::i, $_)) or die "keymap ioctl failed ($table_index $::i $_): $!"; + ioctl($F, c::KDSKBENT(), pack("CCS", $table_index, $::i, $_)) or log::l("keymap ioctl failed ($table_index $::i $_): $!"); } @{$tables[$i_tables++]}; } } @$tables_given; -- cgit v1.2.1