summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index e3d893821..28a5cd6b7 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -590,9 +590,11 @@ sub get_pcmcia_devices($$) {
symlink("/tmp/stage2/etc/pcmcia", "/etc/pcmcia") unless -e "/etc/pcmcia";
symlink("/sbin/install", "/sbin/cardmgr") unless -x "/sbin/cardmgr";
- load("pcmcia_core");
- load($pcic);
- load("ds");
+ eval {
+ load("pcmcia_core");
+ load($pcic);
+ load("ds");
+ };
#- run cardmgr in foreground while it is configuring the card.
run_program::run("cardmgr", "-f", "-m" ,"/modules");