From 0e388260246c9206a1cbdf256cc30f457b4e901b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 8 Mar 2004 15:19:55 +0000 Subject: 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! --- perl-install/modules.pm | 6 +++--- 1 file 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; -- cgit v1.2.1