bug fix (Wed Mar 1 16:37:42 CST 2023)

This commit is contained in:
xiongdian.me 2023-03-01 16:37:42 +08:00
parent 7d39e5352c
commit 3b9fafecf5

View File

@ -11,7 +11,7 @@ DFS_UPDATE_CHANNEL=${DFS_UPDATE_CHANNEL:-"main"}
apost_beacon "sys.online" 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.failed")
fi fi