summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 9016fc9b6..f1984e285 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -434,8 +434,7 @@ sub main {
log::openLog(($::testing || $o->{localInstall}) && 'debug.log');
log::l("second stage install running (", any::drakx_version(), ")");
- mkdir '/sys';
- syscall_('mount', (my $_dev = 'none'), (my $_where = '/sys'), (my $_type = 'sysfs'), 0);
+ eval { fs::mount('none', '/sys', 'sysfs', 1) };
if ($::move) {
require move;