From 6ce9913cd7172999fcd1a717070d1995a0eae4ed Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 8 Sep 2002 15:25:03 +0000 Subject: warn "You don't have a swap partition.\n\nContinue anyway?" in expert mode --- perl-install/install_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index 7d6f5be91..46c8a9f5d 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -61,7 +61,7 @@ Then choose action ``Mount point'' and set it to `/'"), 1) or return; } if (!grep { isSwap($_) } @fstab) { $o->ask_warn('', _("You must have a swap partition")), $ok = 0 if !$::expert; - $ok &&= $::expert || $o->ask_okcancel('', _("You don't have a swap partition.\n\nContinue anyway?")); + $ok &&= $o->ask_okcancel('', _("You don't have a swap partition.\n\nContinue anyway?")); } if (arch() =~ /ia64/ && !fsedit::has_mntpoint("/boot/efi", $all_hds)) { $o->ask_warn('', _("You must have a FAT partition mounted in /boot/efi")); -- cgit v1.2.1