aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss5
1 files changed, 5 insertions, 0 deletions
diff --git a/kiss b/kiss
index e1c108e..427914c 100755
--- a/kiss
+++ b/kiss
@@ -1460,6 +1460,11 @@ main() {
KISS_ROOT=${KISS_ROOT%/}
}
+ # On 'ksh', Ctrl + C does not send an interrupt signal by default.
+ # This would cause a prompt to pass while the user would be trying
+ # to cancel, or the user would want to abort building a package.
+ stty intr "^C"
+
# This allows for automatic setup of a KISS chroot and will
# do nothing on a normal system.
mkdir -p "${sys_db:=$KISS_ROOT/$pkg_db}" 2>/dev/null ||: