summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-04 15:14:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-04 15:14:36 +0000
commit6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac (patch)
treed6bfd8752631674368e8f0e87ec2f447b5e7126a
parent5c97579db05e1e2e6c675eef039e38e872a29965 (diff)
downloaddrakx-6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac.tar
drakx-6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac.tar.gz
drakx-6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac.tar.bz2
drakx-6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac.tar.xz
drakx-6ac5ddd7d586a80c5b9a6e0569dde0fdc76324ac.zip
log module loading faillure
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 2538a8fbe..a0cd687bf 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -318,7 +318,8 @@ TYPE=$kind
write_cnx_script($netc);
unless ($::isStandalone) {
- $modems{$adsl_device}{modules} and eval { modules::load(@{$modems{$adsl_device}{modules}}) };
+ $modems{$adsl_device}{modules} and eval { modules::load(@{$modems{$adsl_device}{modules}}) }
+ or log::l "failled to load @{$modems{$adsl_device}{modules}} modules: $@";
$modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start});
}
}