diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 17:38:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-06 17:38:26 +0000 |
commit | b8a25c88bba7e597dd0c148e15693672d2a30f85 (patch) | |
tree | 9c4922a45aa7ae98e414169afa898e4b19593a13 /perl-install/install_steps.pm | |
parent | 922d528b7664b8b885f596055bd25232f3df32a7 (diff) | |
download | drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.gz drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.bz2 drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.xz drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.zip |
replace complex "unless"s with "if"s
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 2f40121f6..e62de662d 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -206,7 +206,7 @@ sub ask_mntpoint_s { my %m; foreach (@$fstab) { my $m = $_->{mntpoint}; - next unless $m && $m ne 'swap'; #- there may be a lot of swap. + next if !$m || $m eq 'swap'; #- there may be a lot of swap. $m{$m} and die N("Duplicate mount point %s", $m); $m{$m} = 1; |