display confirmation loop err in red
This commit is contained in:
parent
17dda2504d
commit
7a58e1b513
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user