diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-08 15:19:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-08 15:19:55 +0000 |
commit | 0e388260246c9206a1cbdf256cc30f457b4e901b (patch) | |
tree | e75a76c931708d9be349a7a94922c856fd993e35 | |
parent | 1cf9c9552a90277c5f812b7718f81f62f023652e (diff) | |
download | drakx-0e388260246c9206a1cbdf256cc30f457b4e901b.tar drakx-0e388260246c9206a1cbdf256cc30f457b4e901b.tar.gz drakx-0e388260246c9206a1cbdf256cc30f457b4e901b.tar.bz2 drakx-0e388260246c9206a1cbdf256cc30f457b4e901b.tar.xz drakx-0e388260246c9206a1cbdf256cc30f457b4e901b.zip |
a missing module is now an error, that way it won't be in scsi_hostadapters. In load_category(), exception is caught, so no pb when using load_category(). But beware, this may break!
-rw-r--r-- | perl-install/modules.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 8e5e19288..616ffa93c 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -460,11 +460,11 @@ sub load_raw { unlink $m; ''; } else { - -e $m; + 'error'; } } else { - log::l("missing module $_->[0]") if !-e $m; - -e $m; + log::l("missing module $_->[0]"); + 'error'; } } @l; |