aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-01 09:43:30 +0000
committermerakor <cem@ckyln.com>2020-05-01 09:43:30 +0000
commitd1501c496c8b95712d89eb379393258dfff212a1 (patch)
tree80acaabedce2fe1f2fded09dac711d670d3448c7
parentf9bce7eded797ef829c1e6654d949548e7f6ac33 (diff)
downloadcpt-d1501c496c8b95712d89eb379393258dfff212a1.tar.gz
kiss: fix ksh colour output
FossilOrigin-Name: ca5b8b4277517336989eefb5aff9872182d508bc14b82a3490e6c2065d432c02
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 2948713..0798d8d 100755
--- a/kiss
+++ b/kiss
@@ -24,7 +24,7 @@ log() {
# '${3:-->}': If the 3rd argument is missing, set prefix to '->'.
# '${2:+\033[1;3Xm}': If the 2nd argument exists, set text style of '$1'.
printf '\033[1;33m%s \033[m%b%s\033[m %s\n' \
- "${3:-->}" "${2:+\033[1;36m}" "$1" "$2" >&2
+ "${3:-->}" "${2:+"\033[1;36m"}" "$1" "$2" >&2
}
die() {