aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-28 00:01:19 +0000
committermerakor <cem@ckyln.com>2020-05-28 00:01:19 +0000
commit286a62f43781980f61aa467be93b891221751ca3 (patch)
tree55c21929721db918492f6b809bacaad8e3b09298 /kiss
parentc62f09075ee4049533ca8aa2bf19028b3ae5c7e3 (diff)
downloadcpt-286a62f43781980f61aa467be93b891221751ca3.tar.gz
kiss: use KISS_PROMPT for compatibility
FossilOrigin-Name: 6dff7d3dd510411da702aa439ed26bb5df3853164a690e7673849b47a4b34dbb
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 21c8760..ebfbc8c 100755
--- a/kiss
+++ b/kiss
@@ -47,7 +47,7 @@ prompt() {
# If a KISS_NOPROMPT variable is set, continue.
# This can be useful for installation scripts and
# bootstrapping.
- [ "$KISS_NOPROMPT" ] && return 0
+ [ "$KISS_PROMPT" = 0 ] && return 0
# Ask the user for some input.
[ "$1" ] && log "$1"