aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-10-06 08:36:12 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-10-06 08:36:12 +0000
commit690f1880b9b28f92cd4f17afa053af6300241107 (patch)
tree39c06533cf530fdc9ae20a082940e5e2f8389100 /usr.sbin/sysinstall/install.c
parentc16f090408e845cd1a8d645f815afd15559c2ff1 (diff)
downloadsrc-690f1880b9b28f92cd4f17afa053af6300241107.tar.gz
src-690f1880b9b28f92cd4f17afa053af6300241107.zip
Add an extra sanity check to previous commit.
Notes
Notes: svn path=/head/; revision=30167
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 1571d6990197..aca988421b6d 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.198 1997/10/03 14:14:40 jkh Exp $
+ * $Id: install.c,v 1.199 1997/10/06 08:34:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -806,7 +806,7 @@ installFixup(dialogMenuItem *self)
/* BOGON #6: deal with new boot files */
vsystem("touch /kernel.config");
vsystem("touch /boot.config");
- if (file_readable("/stand/boot.help"))
+ if (file_readable("/stand/boot.help") && !file_readable("/boot.help"))
vsystem("mv /stand/boot.help /");
/* Now run all the mtree stuff to fix things up */