From a7064805c372d022da081fb73b7cd0637bdc2916 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 9 May 2021 03:58:35 -0600 Subject: [PATCH] style: log params in default colour vs magenta --- cfddns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfddns.sh b/cfddns.sh index 6a264cd..a5dfbfa 100644 --- a/cfddns.sh +++ b/cfddns.sh @@ -312,7 +312,7 @@ fi ### initial log entries { printf "%s[%s] -- Cloudflare DDNS update-script: execution starting --%s\n" "$ok" "$(stamp)" "$norm" - printf "%sParameters:\n" "$magenta" + printf "Parameters:\n" printf "script path: %s\n" "$scriptPath/$scriptName" printf "credentials file: %s\n" "$accountFile" } >>"$logFile" @@ -351,7 +351,7 @@ while [ "$dnsRecordsToUpdate" != "${dnsRecordsToUpdate#*${dnsSeparator}}" ] && { printf "updating record: %s\n" "$record" >>"$logFile" done -printf "(end of parameter list)%s\n" "$norm" >>"$logFile" +printf "(end of parameter list)\n" >>"$logFile" ### read Cloudflare credentials printf "[%s] Reading Cloudflare credentials... " "$(stamp)" >>"$logFile"