refactor: remove err label on code 99

This commit is contained in:
Asif Bacchus 2021-05-09 10:28:17 -06:00
parent 8801e55e30
commit e344b027f9

View File

@ -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