summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/config.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-29 01:35:33 +0000
committerjkh <jkh@FreeBSD.org>1996-05-29 01:35:33 +0000
commit6494b19d734656ad166ca30512883d15960875d5 (patch)
tree6493e7cff526fb9fcce4e4be957806af800ec38d /usr.sbin/sysinstall/config.c
parent4fe110ed7ec5499e9b07d9beafc5da0b0c42918a (diff)
downloadFreeBSD-src-6494b19d734656ad166ca30512883d15960875d5.zip
FreeBSD-src-6494b19d734656ad166ca30512883d15960875d5.tar.gz
Sha-ZAM!
The root floppy is now gone. I shall not mourn its passing. Everything we need is on boot.flp or the bindist.
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
-rw-r--r--usr.sbin/sysinstall/config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index 1262efa..85eb685 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.31 1996/05/16 11:47:26 jkh Exp $
+ * $Id: config.c,v 1.32 1996/05/23 16:34:24 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -432,6 +432,7 @@ configPackages(dialogMenuItem *self)
msgNotify("Attempting to fetch packages/INDEX file from selected media.");
fd = mediaDevice->get(mediaDevice, "packages/INDEX", TRUE);
if (fd < 0) {
+ dialog_clear();
msgConfirm("Unable to get packages/INDEX file from selected media.\n"
"This may be because the packages collection is not available at\n"
"on the distribution media you've chosen (most likely an FTP site\n"
@@ -439,7 +440,7 @@ configPackages(dialogMenuItem *self)
"(or path to media) and try again. If your local site does not\n"
"carry the packages collection, then we recommend either a CD\n"
"distribution or the master distribution on ftp.freebsd.org.");
- return DITEM_FAILURE;
+ return DITEM_FAILURE | DITEM_RESTORE;
}
msgNotify("Got INDEX successfully, now building packages menu..");
index_init(&top, &plist);
OpenPOWER on IntegriCloud