diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-03-07 16:39:32 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-03-07 16:39:32 +0000 |
| commit | 2efff52162ce92f64a808f57d56b11b9d2984bdb (patch) | |
| tree | 1ab0c532a1feedc89ddb58c730db82db608e0ae8 /release/sysinstall/installUpgrade.c | |
| parent | ea722a7705a4dfdc9bb72c0aeec7f289c6cfc20c (diff) | |
Notes
Diffstat (limited to 'release/sysinstall/installUpgrade.c')
| -rw-r--r-- | release/sysinstall/installUpgrade.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c index c7cc42ca974f..76711d0c883c 100644 --- a/release/sysinstall/installUpgrade.c +++ b/release/sysinstall/installUpgrade.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id$ + * $Id: installUpgrade.c,v 1.44 1997/02/07 04:26:16 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -242,17 +242,16 @@ installUpgrade(dialogMenuItem *self) systemCreateHoloshell(); } - if (!mediaVerify()) { - msgConfirm("Now you must specify an installation medium for the upgrade."); media: - if (!dmenuOpenSimple(&MenuMedia, FALSE) || !mediaDevice) - return DITEM_FAILURE | DITEM_RESTORE; - } + if (!mediaVerify()) + return DITEM_FAILURE | DITEM_RESTORE; if (!mediaDevice->init(mediaDevice)) { if (!msgYesNo("Couldn't initialize the media. Would you like\n" - "to adjust your media selection and try again?")) + "to adjust your media selection and try again?")) { + mediaDevice = NULL; goto media; + } else return DITEM_FAILURE | DITEM_REDRAW; } |
