summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoralm <alm@FreeBSD.org>1994-03-01 23:51:48 +0000
committeralm <alm@FreeBSD.org>1994-03-01 23:51:48 +0000
commitc5949e77c8294b51a03c11a4da42f45b6111e3cb (patch)
tree45c140604e07dac3384c42120b651d04c158265c /etc
parentbc6b31865645e4c6f3a548ad0b4b48b4b889df59 (diff)
downloadFreeBSD-src-c5949e77c8294b51a03c11a4da42f45b6111e3cb.zip
FreeBSD-src-c5949e77c8294b51a03c11a4da42f45b6111e3cb.tar.gz
Don't offer to mount a to-be-overwritten DOS partition.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/etc.i386/inst1.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/etc.i386/inst1.install b/etc/etc.i386/inst1.install
index d9812cf..dddfebd 100755
--- a/etc/etc.i386/inst1.install
+++ b/etc/etc.i386/inst1.install
@@ -761,7 +761,7 @@ while [ $part_used -lt $partition ]; do
fi
done
if [ "$have_dos_part" -a "$have_dos_part" != "$opsys_part" -a \
- "$RUN_FDISK" != "overwrite" -a ! "$hname" ]; then
+ "$RUN_FDISK" != "" -a "$RUN_FDISK" != "overwrite" -a ! "$hname" ]; then
echo
echo "There appears to be a MS-DOS filesystem on the hard disk."
echo -n "Make this be accessible from ${OPSYSTEM}? [y] "
OpenPOWER on IntegriCloud