From 3bc7e0f2955b5c83678449a417d7e3f82a151844 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 15 May 2009 01:31:02 +0000 Subject: If we have more than one disk, we don't know what the user wants but done is probably not the right default answer. ok krw --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib') diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 7eaab5b62f9..adbd09547c5 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.545 2009/05/12 09:05:54 halex Exp $ +# $OpenBSD: install.sub,v 1.546 2009/05/15 01:31:01 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -1896,7 +1896,7 @@ fi set -- $DKDEVS (( $# == 0 )) && { echo "No disks found." ; exit ; } -(( $# > 1 )) && _defdsk=done +(( $# > 1 )) && _defdsk= ask_which "disk" "is the root disk" "$DKDEVS" "$_defdsk" [[ $resp == done ]] && exit -- cgit v1.2.3