From 3b9fafecf5c338573303c1168a8ddb9bbcbaf59b Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Wed, 1 Mar 2023 16:37:42 +0800 Subject: [PATCH] bug fix (Wed Mar 1 16:37:42 CST 2023) --- .update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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