diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 08:11:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 08:11:52 +0000 |
commit | af5156631ade4b26dbf8248f3584d4d444c4cc6d (patch) | |
tree | cf36dfd1b20381f626e1afbfefecfb6f033ba94d /perl-install | |
parent | d084cc4ac96c5387f43f0493fa3d7e8da704643c (diff) | |
download | drakx-af5156631ade4b26dbf8248f3584d4d444c4cc6d.tar drakx-af5156631ade4b26dbf8248f3584d4d444c4cc6d.tar.gz drakx-af5156631ade4b26dbf8248f3584d4d444c4cc6d.tar.bz2 drakx-af5156631ade4b26dbf8248f3584d4d444c4cc6d.tar.xz drakx-af5156631ade4b26dbf8248f3584d4d444c4cc6d.zip |
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)
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |