summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-05-02 15:55:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-05-02 15:55:59 +0000
commita421052804481084a9263f25d8a22364734597f8 (patch)
treeb5e9796442574e4f73bd30e78c1bfa0561d709cd /distrib
parenta286f3a7d454a86fb7ece313880acf17eab0e254 (diff)
Absolutely astounding that custom code was written for the softraid case
to require "no", instead of "n" or "no" which works at every other damn prompt in the installer. This seems to be an artifact of relentlessly pushing people towards softraid by default, and I think that is a bit nasty and pushy.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 868aa086322..d3d944bf2ca 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1243 2023/04/25 14:20:13 kn Exp $
+# $OpenBSD: install.sub,v 1.1244 2023/05/02 15:55:58 deraadt Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -3099,7 +3099,7 @@ Create a passphrase protected CRYPTO softraid volume to be used as root disk.
__EOT
diskinfo $(get_dkdevs);;
'') ;;
- no) return;;
+ n|no) return;;
*) isin "$resp" $(get_dkdevs) && break
echo 'No such disk.';;
esac