diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-15 01:31:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-05-15 01:31:02 +0000 |
commit | 3bc7e0f2955b5c83678449a417d7e3f82a151844 (patch) | |
tree | 9fb56b43b8de8cfbd7b7cb859cb472a6c88a4ae6 /distrib | |
parent | 2c8497742abfe3de559386fe5e2aad0857f4265a (diff) |
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
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
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 |