diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:30 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:30 +0000 |
commit | a9e2dc176f709713f9565ed1711c958f0707eb36 (patch) | |
tree | e1676cbf88d75f6982fe157cf90f1bc6a6c21e72 /release/sysinstall/installUpgrade.c | |
parent | 8eb115465a9db8d2a05eaf5244d6e5e8a54087c2 (diff) |
Diffstat (limited to 'release/sysinstall/installUpgrade.c')
-rw-r--r-- | release/sysinstall/installUpgrade.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c index 35e13ada53d66..d7f033ecb5735 100644 --- a/release/sysinstall/installUpgrade.c +++ b/release/sysinstall/installUpgrade.c @@ -164,8 +164,12 @@ installUpgrade(dialogMenuItem *self) return installUpgradeNonInteractive(self); variable_set2(SYSTEM_STATE, "upgrade"); + systemDisplayHelp("UPGRADE"); dialog_clear_norefresh(); + if (msgYesNo("Given all that scary stuff you just read, are you sure you want to\n" + "risk it all and proceed with this upgrade?") != 0) + return DITEM_FAILURE | DITEM_RESTORE; if (!Dists) { msgConfirm("First, you must select some distribution components. The upgrade procedure\n" @@ -189,9 +193,6 @@ installUpgrade(dialogMenuItem *self) if (!(Dists & DIST_BIN)) extractingBin = FALSE; - if (msgYesNo("Last chance, are you sure you want to proceed with this upgrade?") != 0) - return DITEM_FAILURE | DITEM_RESTORE; - if (RunningAsInit) { Device **devs; int i, cnt; |