display confirmation loop err in red

This commit is contained in:
Asif Bacchus 2020-03-14 19:11:56 -06:00
parent 17dda2504d
commit 7a58e1b513

View File

@ -32,7 +32,7 @@ prompt_yn () {
exit 0 exit 0
;; ;;
*) *)
printf "Please answer 'y' or 'n'.\n" printf "%sPlease answer 'y' or 'n'.%s\n" "$err" "$norm"
;; ;;
esac esac
done done