summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-29 13:37:43 +0000
committerjkh <jkh@FreeBSD.org>1995-05-29 13:37:43 +0000
commit0d033a083c17fce51ca8528c982fedd20b092f6a (patch)
treea9cc877b52988aee20e78e598ae67b3f1a5f275f /usr.sbin/sysinstall/install.c
parent7312a009ea6921a83eae658b3b7578278bf5795c (diff)
downloadFreeBSD-src-0d033a083c17fce51ca8528c982fedd20b092f6a.zip
FreeBSD-src-0d033a083c17fce51ca8528c982fedd20b092f6a.tar.gz
1. Fix a looping bogon in configFstab().
2. Fix the gauge. 3. Don't shut down the media device gratuitously after getting the root floppy - it saves work later.
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index f501494..24f8a3a 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.66 1995/05/29 00:50:02 jkh Exp $
+ * $Id: install.c,v 1.67 1995/05/29 11:01:23 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -417,9 +417,8 @@ root_extract(void)
(*mediaDevice->close)(mediaDevice, fd);
else
close(fd);
- if (mediaDevice->shutdown)
- (*mediaDevice->shutdown)(mediaDevice);
- } else {
+ }
+ else {
msgConfirm("Couldn't get root floppy image from %s\n, falling back to floppy.", mediaDevice->name);
if (mediaDevice->shutdown)
(*mediaDevice->shutdown)(mediaDevice);
OpenPOWER on IntegriCloud