From 7a58e1b513a4506441efb47f4f01521700bdb101 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 14 Mar 2020 19:11:56 -0600 Subject: [PATCH] display confirmation loop err in red --- ab-openldap/ab-openldap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab-openldap/ab-openldap.sh b/ab-openldap/ab-openldap.sh index e26c303..09b95d8 100755 --- a/ab-openldap/ab-openldap.sh +++ b/ab-openldap/ab-openldap.sh @@ -32,7 +32,7 @@ prompt_yn () { exit 0 ;; *) - printf "Please answer 'y' or 'n'.\n" + printf "%sPlease answer 'y' or 'n'.%s\n" "$err" "$norm" ;; esac done