aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/kshrc.d/prompt.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh
index b5a54a0a..5081ec0e 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/kshrc.d/prompt.ksh
@@ -12,8 +12,8 @@ prompt() {
# Turn complex, colored PS1 and debugging PS4 prompts on
on)
- # Declare the PROMPT_RETURN variable as an integer
- declare -i PROMPT_RETURN
+ # Declare the PROMPT_RETURN variable
+ PROMPT_RETURN=0
# Set up prompt, including optional PROMPT_PREFIX and PROMPT_SUFFIX
# variables