diff options
author | merakor <cem@ckyln.com> | 2020-05-01 09:43:30 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-01 09:43:30 +0000 |
commit | d1501c496c8b95712d89eb379393258dfff212a1 (patch) | |
tree | 80acaabedce2fe1f2fded09dac711d670d3448c7 | |
parent | f9bce7eded797ef829c1e6654d949548e7f6ac33 (diff) | |
download | cpt-d1501c496c8b95712d89eb379393258dfff212a1.tar.gz |
kiss: fix ksh colour output
FossilOrigin-Name: ca5b8b4277517336989eefb5aff9872182d508bc14b82a3490e6c2065d432c02
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |