Fixed listing of warning codes in quit function
This commit is contained in:
parent
26b687f92b
commit
4260f62f9e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user