summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dist.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r--usr.sbin/sysinstall/dist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 040cc89..3c2ae94 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -399,11 +399,11 @@ distMaybeSetCRYPTO(dialogMenuItem *self)
"a second pass with the Custom Installation option.")) {
if (!dmenuOpenSimple(&MenuCRYPTODistributions, FALSE))
i = DITEM_FAILURE;
- else
- USAResident = TRUE;
}
- else
- USAResident = FALSE;
+
+ dialog_clear_norefresh();
+ USAResident = !msgYesNo("Are you actually resident in the United States?");
+
distVerifyFlags();
return i | DITEM_REDRAW | DITEM_RESTORE;
}
OpenPOWER on IntegriCloud