summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 032f491c9..2d3ec1f9e 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -1576,7 +1576,7 @@ sub set_security {
sub write_fstab {
my ($o) = @_;
- return if !$::local_install && (!$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names});
+ return if $::local_install || $o->{isUpgrade} && $o->{isUpgrade} !~ /redhat|conectiva/ && !$o->{migrate_device_names});
fs::write_fstab($o->{all_hds}, $::prefix);
}