From 5eb630b080a5566359773bb38fd6e2f31e32459a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 18 Jan 2014 16:28:56 +0100 Subject: (write_fstab) make it more readable --- perl-install/install/any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 63cefc848..747262039 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -1446,8 +1446,8 @@ sub set_security { sub write_fstab { my ($o) = @_; - fs::write_fstab($o->{all_hds}, $::prefix) - 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); } sub adjust_files_mtime_to_timezone() { -- cgit v1.2.1