From 07820587d8406239da1672434aaf1ed5e9c69b41 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 25 Sep 2018 18:43:35 -0600 Subject: [PATCH] Changed colour used for STATUS update. Fixed typo in "Script Completed" notation. --- cfddns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfddns.sh b/cfddns.sh index 1aad0a5..e0d2aed 100755 --- a/cfddns.sh +++ b/cfddns.sh @@ -82,7 +82,7 @@ quit none function quit { if [ -z "$1" ]; then # exit cleanly - echo -e "${bold}${note}${stamp} -- Script completed --\${normal}" \ + echo -e "${bold}${note}${stamp} -- Script completed --${normal}" \ >> "$logFile" exit 0 elif [ "$1" = "none" ]; then @@ -329,7 +329,7 @@ for recordIdx in "${!currentIP[@]}"; do "${dnsRecords[recordIdx]} is up-to-date.${normal}" \ >> "$logFile" else - echo -e "${lit}${stamp} -- [STATUS]" \ + echo -e "${info}${stamp} -- [STATUS]" \ "${dnsRecords[recordIdx]} needs updating...${normal}" \ >> "$logFile" if [ $ip4 -eq 1 ]; then