summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-10-21 14:07:02 +0000
committerjkh <jkh@FreeBSD.org>1995-10-21 14:07:02 +0000
commit893cc720a8d4171171d07f89ba59ae801e46ff96 (patch)
treea098148a84ba23c28f00ddf91ed6862e5d5ccc56 /usr.sbin/sysinstall/index.c
parent4d5bfcf5d89a4cf4abb717208ea38acdc5083f9c (diff)
downloadFreeBSD-src-893cc720a8d4171171d07f89ba59ae801e46ff96.zip
FreeBSD-src-893cc720a8d4171171d07f89ba59ae801e46ff96.tar.gz
1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was written. Fixed. 2. Totally eliminate the OptionFlags. I only had to work harder to sync them with configuration variables, so why not simply always use configuration variables? This has actually greatly simplified areas of the code.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index f5c3c79..8cf6fa0 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: index.c,v 1.11 1995/10/20 07:02:34 jkh Exp $
+ * $Id: index.c,v 1.13 1995/10/20 21:57:08 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -558,7 +558,7 @@ index_extract(Device *dev, PkgNodePtr plist)
for (tmp = plist->kids; tmp; tmp = tmp->next) {
if (package_extract(dev, tmp->name) != RET_SUCCESS) {
- if (optionIsSet(OPT_NO_CONFIRM))
+ if (variable_get(OPT_NO_CONFIRM))
msgNotify("Unable to locate package %s..", tmp->name);
else
msgConfirm("Unable to locate package %s..", tmp->name);
OpenPOWER on IntegriCloud