refactor: remove err label on code 99
This commit is contained in:
parent
8801e55e30
commit
e344b027f9
@ -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."
|
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)"
|
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"
|
printf "%s[%s] -- Cloudflare DDNS update-script: completed with error(s) --%s\n" "$err" "$(stamp)" "$norm" >>"$logFile"
|
||||||
exit 99
|
exit 99
|
||||||
|
Loading…
Reference in New Issue
Block a user