From 610bcb471a883514211f882de47f3004b3859cc9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 9 Aug 2016 10:16:38 +1200 Subject: Make declaration of PROMPT_RETURN pdksh-compatible --- pdksh/kshrc.d/prompt.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdksh') 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 -- cgit v1.2.3