1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-09-28 04:12:40 -06:00

kiss: fix issue with OpenBSD Korn shell

This commit is contained in:
Dylan Araps 2021-06-28 09:46:28 +00:00
parent a25725530a
commit 5da3d06cea

3
kiss
View File

@ -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() {