dfs.ddns.failed -> dfs.ddns.fail

This commit is contained in:
xiongdian.me 2023-03-01 16:42:51 +08:00
parent 3b9fafecf5
commit 765f59ad49

View File

@ -13,7 +13,7 @@ apost_beacon "sys.online"
# update dns # update dns
if [[ "$DFS_DDNS_ENABLE" == "1" ]]; then if [[ "$DFS_DDNS_ENABLE" == "1" ]]; then
fmt_info "updating dns ..." fmt_info "updating dns ..."
"$THIS_DIR/tools/logger.sh" ddns || (fmt_error "failed to update dns" && apost_beacon "dfs.ddns.failed") "$THIS_DIR/tools/logger.sh" ddns || (fmt_error "failed to update dns" && apost_beacon "dfs.ddns.fail")
fi fi
# fetch origin # fetch origin