From 0c4617f4c8d66d0c67f44f9dfa83f98c4379b865 Mon Sep 17 00:00:00 2001 From: kn Date: Thu, 12 Jan 2023 15:03:23 +0000 Subject: [PATCH] On '!', drop into a proper ksh(1) instead of a limited sh(1) lacking arithmetic expression `(( ... ))' and more. OK deraadt --- distrib/miniroot/install.sub | 4 ++-- 1 file 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 @@ -765,7 +765,7 @@ _ask() { else case $resp in !) echo "Type 'exit' to return to install." - sh + ksh _redo=1 ;; !*) eval "${resp#?}" -- 2.20.1