From bc3670947e70555dffd38c1b1dd2829579090c15 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 25 Aug 2001 12:34:29 +0000 Subject: (write_fstab): enable mounting more than one swap :) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 4daafd4db..41d470092 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -138,7 +138,7 @@ sub write_fstab { (1, $_->{mntpoint} eq '/' ? 1 : loopback::carryRootLoopback($_) ? 0 : 2) : (0, 0); - if (($device eq 'none' || !$new{$device}) && !$new{$mntpoint}) { + if (($device eq 'none' || !$new{$device}) && ($mntpoint eq 'swap' || !$new{$mntpoint})) { #- keep in mind the new line for fstab. $new{$device} = 1; $new{$mntpoint} = 1; -- cgit v1.2.1