From b8a25c88bba7e597dd0c148e15693672d2a30f85 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Nov 2002 17:38:26 +0000 Subject: replace complex "unless"s with "if"s --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') 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; -- cgit v1.2.1