aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 4a58f46d..063f5210 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -186,6 +186,7 @@ function prompt {
# Show return status of previous command in angle brackets, if not zero
ret)
+ # shellcheck disable=SC2154
((ret)) && printf '<%u>' "$ret"
;;