From 5da3d06cea5bd8d0af6d92b6ccab97be9b3c0895 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 28 Jun 2021 09:46:28 +0000 Subject: [PATCH] kiss: fix issue with OpenBSD Korn shell --- kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index de593ec..95e1808 100755 --- a/kiss +++ b/kiss @@ -30,7 +30,8 @@ prompt() { log "Continue?: Press Enter to continue or Ctrl+C to abort here" - [ "$KISS_PROMPT" = 0 ] || read -r _ + # korn-shell does not exit on interrupt of read. + [ "$KISS_PROMPT" = 0 ] || read -r _ || exit 1 } as_root() {