diff --git a/.update.sh b/.update.sh index a3a42e9..23f2dd8 100644 --- a/.update.sh +++ b/.update.sh @@ -11,7 +11,7 @@ DFS_UPDATE_CHANNEL=${DFS_UPDATE_CHANNEL:-"main"} apost_beacon "sys.online" # update dns -if [[ "$DFS_DDNS_ENABLE" == "$1" ]]; then +if [[ "$DFS_DDNS_ENABLE" == "1" ]]; then fmt_info "updating dns ..." "$THIS_DIR/tools/logger.sh" ddns || (fmt_error "failed to update dns" && apost_beacon "dfs.ddns.failed") fi