summaryrefslogtreecommitdiff
path: root/release/sysinstall/installUpgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/installUpgrade.c')
-rw-r--r--release/sysinstall/installUpgrade.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c
index 35e13ada53d6..d7f033ecb573 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;