summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 0641761be..6b5d3452d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -191,7 +191,7 @@ sub formatPartitions {
#- needed by lilo
if (-d '/dev/mapper' && !$::local_install) {
my @vgs = map { $_->{VG_name} } @{$o->{all_hds}{lvms}};
- cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
+ -e "/dev/$_" and cp_af("/dev/$_", "$::prefix/dev") foreach 'mapper', @vgs;
}
}