kiss: fix issue with OpenBSD Korn shell
This commit is contained in:
parent
a25725530a
commit
5da3d06cea
3
kiss
3
kiss
|
@ -30,7 +30,8 @@ prompt() {
|
||||||
|
|
||||||
log "Continue?: Press Enter to continue or Ctrl+C to abort here"
|
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() {
|
as_root() {
|
||||||
|
|
Loading…
Reference in New Issue