From e344b027f9633794571f364b287b8aaf1b0d76e0 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 9 May 2021 10:28:17 -0600 Subject: [PATCH] refactor: remove err label on code 99 --- cfddns.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/cfddns.sh b/cfddns.sh index 85d39e6..771cb38 100644 --- a/cfddns.sh +++ b/cfddns.sh @@ -69,7 +69,6 @@ exitError() { errMsg="${failedHostCount} host update(s) failed. Any 'CF-ERR:' lines noted in this log may help determine what went wrong." ;; *) - writeLog err "Unspecified error." writeLog error "An unspecified error occurred. (code: 99)" printf "%s[%s] -- Cloudflare DDNS update-script: completed with error(s) --%s\n" "$err" "$(stamp)" "$norm" >>"$logFile" exit 99