From af5156631ade4b26dbf8248f3584d4d444c4cc6d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 1 Mar 2004 08:11:52 +0000 Subject: do not crash when detector failled (eg: when mouse detection failled because of unhandled exception on module exception b/c of unresolved symbolds b/c of gcc-3.4) --- perl-install/standalone/service_harddrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 409d43588..27200f0cb 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -37,7 +37,7 @@ foreach (@harddrake::data::tree) { my $i = $_; my $id = defined $i->{device} ? $i->{device} : join(':', map { $i->{$_} } qw(vendor id subvendor subid)); $id => $i; - } &$detector; + } eval { &$detector }; $config{$Ident} = \%ID; next if is_empty_hash_ref $previous_config; # don't fsck on first run -- cgit v1.2.1