Don't offer to mount a to-be-overwritten DOS partition.

This commit is contained in:
Andrew Moore 1994-03-01 23:51:48 +00:00
parent 3b25168637
commit 9bf051a923

View File

@ -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] "