aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/installUpgrade.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2000-11-14 21:21:53 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2000-11-14 21:21:53 +0000
commitcf47e60dd854e40502c53f9274295e6d093e931d (patch)
tree0529abac50ac0bd8fa08f5b35bcdd19a7e166afc /usr.sbin/sysinstall/installUpgrade.c
parentf9c70d76471d87354ec503b82d84c66fb4f68b1f (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/installUpgrade.c')
-rw-r--r--usr.sbin/sysinstall/installUpgrade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c
index f82bfb7c0db6a..efa8599b1c9b2 100644
--- a/usr.sbin/sysinstall/installUpgrade.c
+++ b/usr.sbin/sysinstall/installUpgrade.c
@@ -250,6 +250,7 @@ installUpgrade(dialogMenuItem *self)
/* Don't allow sources to be upgraded unless if we have src already */
if (directory_exists("/usr/src/") && (Dists & DIST_SRC)) {
Dists &= ~DIST_SRC;
+ SrcDists = 0;
msgConfirm("Warning: /usr/src exists and sources were selected as upgrade\n"
"targets. Unfortunately, this is not the way to upgrade your\n"
"sources - please use CTM or CVSup or some other method which\n"