summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-11-07 14:17:09 +0000
committerjkh <jkh@FreeBSD.org>1996-11-07 14:17:09 +0000
commit3c0a53e4170c8255c2eac02472c46d908a3bdf1a (patch)
tree77c1f9ebba9e7196f15acd32267b3fa8b7482ba6 /usr.sbin/sysinstall/media.c
parent58ee8f696cd553ed97f68dd376e645c72a135a42 (diff)
downloadFreeBSD-src-3c0a53e4170c8255c2eac02472c46d908a3bdf1a.zip
FreeBSD-src-3c0a53e4170c8255c2eac02472c46d908a3bdf1a.tar.gz
Properly clear FTP site selection info when network init fails; the
site name may have been wrong, or need to be specified by IP.
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index e69f984..efa9bc6 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: media.c,v 1.63 1996/11/02 19:50:32 jkh Exp $
+ * $Id: media.c,v 1.64 1996/11/04 02:12:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -337,6 +337,7 @@ mediaSetFTP(dialogMenuItem *self)
"name server, gateway and network interface are correctly configured?", hostname);
mediaDevice->shutdown(mediaDevice);
network_init = TRUE;
+ variable_unset(VAR_FTP_PATH);
return DITEM_FAILURE | what;
}
else
OpenPOWER on IntegriCloud