diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-01-18 16:28:56 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-02-07 21:35:05 +0100 |
commit | 5eb630b080a5566359773bb38fd6e2f31e32459a (patch) | |
tree | 5e9284daf0bcc68125a19a9321650d8db24931f2 /perl-install/install/any.pm | |
parent | 9ae766a8f6fff82b263c45eb0234378582b655b4 (diff) | |
download | drakx-5eb630b080a5566359773bb38fd6e2f31e32459a.tar drakx-5eb630b080a5566359773bb38fd6e2f31e32459a.tar.gz drakx-5eb630b080a5566359773bb38fd6e2f31e32459a.tar.bz2 drakx-5eb630b080a5566359773bb38fd6e2f31e32459a.tar.xz drakx-5eb630b080a5566359773bb38fd6e2f31e32459a.zip |
(write_fstab) make it more readable
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r-- | perl-install/install/any.pm | 4 |
1 files 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() { |