Changed colour used for STATUS update.

Fixed typo in "Script Completed" notation.
This commit is contained in:
Asif Bacchus 2018-09-25 18:43:35 -06:00
parent b49be41577
commit 07820587d8

View File

@ -82,7 +82,7 @@ quit none
function quit { function quit {
if [ -z "$1" ]; then if [ -z "$1" ]; then
# exit cleanly # exit cleanly
echo -e "${bold}${note}${stamp} -- Script completed --\${normal}" \ echo -e "${bold}${note}${stamp} -- Script completed --${normal}" \
>> "$logFile" >> "$logFile"
exit 0 exit 0
elif [ "$1" = "none" ]; then elif [ "$1" = "none" ]; then
@ -329,7 +329,7 @@ for recordIdx in "${!currentIP[@]}"; do
"${dnsRecords[recordIdx]} is up-to-date.${normal}" \ "${dnsRecords[recordIdx]} is up-to-date.${normal}" \
>> "$logFile" >> "$logFile"
else else
echo -e "${lit}${stamp} -- [STATUS]" \ echo -e "${info}${stamp} -- [STATUS]" \
"${dnsRecords[recordIdx]} needs updating...${normal}" \ "${dnsRecords[recordIdx]} needs updating...${normal}" \
>> "$logFile" >> "$logFile"
if [ $ip4 -eq 1 ]; then if [ $ip4 -eq 1 ]; then