summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-20 18:40:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-20 18:40:56 +0000
commit6f768666517680dbfe3bf9b128e6f9a038707140 (patch)
tree8015e4c8e8c2ae0e3fd6eea022a316339a105065 /perl-install/install2.pm
parent76f575f3c7fec164b849e21ea00de28792c9350f (diff)
downloaddrakx-6f768666517680dbfe3bf9b128e6f9a038707140.tar
drakx-6f768666517680dbfe3bf9b128e6f9a038707140.tar.gz
drakx-6f768666517680dbfe3bf9b128e6f9a038707140.tar.bz2
drakx-6f768666517680dbfe3bf9b128e6f9a038707140.tar.xz
drakx-6f768666517680dbfe3bf9b128e6f9a038707140.zip
don't die when /proc/sys/kernel/modprobe doesn't exist (for BOOT kernels)
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index dba50f089..8d0744dfe 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -433,7 +433,7 @@ sub main {
log::openLog(($::testing || $o->{localInstall}) && 'debug.log');
log::l("second stage install running (", any::drakx_version(), ")");
- output('/proc/sys/kernel/modprobe', '') if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
+ eval { output('/proc/sys/kernel/modprobe', '') } if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
eval { fs::mount('none', '/sys', 'sysfs', 1) };
if ($::move) {