diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-01-12 15:03:24 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-01-12 15:03:24 +0000 |
commit | 97b8db19bdf88857bab2cb688dbcd1181298f614 (patch) | |
tree | df6924dbe612b6eb087719f7b3715e5c3fa6de20 /distrib/miniroot | |
parent | b7f1e7ffa270535ad2e53ff4e865079416d464ba (diff) |
On '!', drop into a proper ksh(1) instead of a limited sh(1) lacking
arithmetic expression `(( ... ))' and more.
OK deraadt
Diffstat (limited to 'distrib/miniroot')
-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 ebd63329fcc..701b5df1228 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1218 2022/12/23 00:40:58 afresh1 Exp $ +# $OpenBSD: install.sub,v 1.1219 2023/01/12 15:03:23 kn Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -765,7 +765,7 @@ _ask() { else case $resp in !) echo "Type 'exit' to return to install." - sh + ksh _redo=1 ;; !*) eval "${resp#?}" |