summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-12-16 05:36:10 +0000
committerjkh <jkh@FreeBSD.org>2000-12-16 05:36:10 +0000
commitfd2808ffad45d755f032b108f95aae2483767e42 (patch)
treeeeab9cf1f55e4aa0ae136b20cf2076b24d6f2072 /usr.sbin/sysinstall/index.c
parent6646c6c9a4e116da25af287cabc02a469404d154 (diff)
downloadFreeBSD-src-fd2808ffad45d755f032b108f95aae2483767e42.zip
FreeBSD-src-fd2808ffad45d755f032b108f95aae2483767e42.tar.gz
Fix an informational message a little and properly check status of a yes/no
question which I bollicked up in my previous commit.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 426097b..e166d94 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -733,13 +733,11 @@ index_initialize(char *path)
msgNotify("Attempting to fetch %s file from selected media.", path);
fp = mediaDevice->get(mediaDevice, path, TRUE);
if (!fp) {
- 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"
- "without the packages collection mirrored). Please verify media\n"
- "(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.");
+ msgConfirm("Unable to get packages/INDEX file from selected media.\n\n"
+ "This may be because the packages collection is not available\n"
+ "on the distribution media you've chosen, most likely an FTP site\n"
+ "without the packages collection mirrored. Please verify that\n"
+ "your media, or your path to the media, is correct and try again.");
mediaDevice->shutdown(mediaDevice);
restorescr(w);
return DITEM_FAILURE;
OpenPOWER on IntegriCloud