aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-17 17:57:41 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-17 17:57:41 +1300
commit390188a950053239b9499d263399bfab30b84c1f (patch)
tree33bea2e71d3c819d52b1acdffef77a2e17b2197f
parentRename all pdksh stuff to ksh (diff)
downloaddotfiles-390188a950053239b9499d263399bfab30b84c1f.tar.gz
dotfiles-390188a950053239b9499d263399bfab30b84c1f.zip
Correct a "local" to "typeset"
-rw-r--r--ksh/kshrc.d/prompt.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 90e813f0..a8835803 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -177,7 +177,7 @@ prompt() {
# Show return status of previous command in angle brackets, if not zero
ret)
- local ret=$2
+ typeset ret=$2
((ret)) && printf '<%u>' "$ret"
;;