summaryrefslogtreecommitdiffstats
path: root/release
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 /release
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 'release')
-rw-r--r--release/sysinstall/index.c12
-rw-r--r--release/sysinstall/install.c2
2 files changed, 6 insertions, 8 deletions
diff --git a/release/sysinstall/index.c b/release/sysinstall/index.c
index 426097b..e166d94 100644
--- a/release/sysinstall/index.c
+++ b/release/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;
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 14a0776..8a116dc 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -603,7 +603,7 @@ nodisks:
#endif
dialog_clear_norefresh();
- if (!msgNoYes("Does this system have a USB mouse attached to it?"))
+ if (msgNoYes("Does this system have a USB mouse attached to it?"))
dmenuOpenSimple(&MenuMouse, FALSE);
/* Now would be a good time to checkpoint the configuration data */
OpenPOWER on IntegriCloud