-# $OpenBSD: install.md,v 1.42 2015/10/07 18:02:06 krw Exp $
+# $OpenBSD: install.md,v 1.43 2015/10/09 18:30:54 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
echo "done."
return ;;
g*|G*)
- [[ $MDEFI == y && $_disk == $ROOTDISK ]] || continue
+ if [[ $MDEFI != y || $_disk != $ROOTDISK ]]; then
+ echo "'$resp' is not a valid choice."
+ $AUTO && exit 1
+ continue
+ fi
echo -n "Setting OpenBSD GPT partition to whole $_disk..."
fdisk -i -g -b 960 -y $_disk >/dev/null