Fixed listing of warning codes in quit function

This commit is contained in:
Asif Bacchus 2018-09-19 23:28:21 -06:00
parent 26b687f92b
commit 4260f62f9e

View File

@ -29,7 +29,7 @@ function quit {
if [ ${#exitWarn[@]} -gt 0 ]; then if [ ${#exitWarn[@]} -gt 0 ]; then
echo -e "${bold}${yellow}${stamp} Script generated the following" \ echo -e "${bold}${yellow}${stamp} Script generated the following" \
"warnings:${normal}" >> "$logFile" "warnings:${normal}" >> "$logFile"
for warn in "${!exitWarn[@]}"; do for warn in "${exitWarn[@]}"; do
echo -e "${yellow}${warn}: ${warningExplain[$warn]}${normal}" \ echo -e "${yellow}${warn}: ${warningExplain[$warn]}${normal}" \
>> "$logFile" >> "$logFile"
done done