summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-04 14:26:29 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-04 14:26:29 +0000
commit10bcc9afbc16d96ca551eee33d914ac6f0337d90 (patch)
tree1df42f13b7793164bd3c092dbb3b812d90e5ecfd
parente7c04a3927728ab17105616f4d03ee3c00c425c4 (diff)
downloaddrakx-10bcc9afbc16d96ca551eee33d914ac6f0337d90.tar
drakx-10bcc9afbc16d96ca551eee33d914ac6f0337d90.tar.gz
drakx-10bcc9afbc16d96ca551eee33d914ac6f0337d90.tar.bz2
drakx-10bcc9afbc16d96ca551eee33d914ac6f0337d90.tar.xz
drakx-10bcc9afbc16d96ca551eee33d914ac6f0337d90.zip
catch die from modules::load
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 3869ffe08..2538a8fbe 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -318,7 +318,7 @@ TYPE=$kind
write_cnx_script($netc);
unless ($::isStandalone) {
- $modems{$adsl_device}{modules} and modules::load(@{$modems{$adsl_device}{modules}});
+ $modems{$adsl_device}{modules} and eval { modules::load(@{$modems{$adsl_device}{modules}}) };
$modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start});
}
}