mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 15:37:05 +08:00
bug fix (Wed Mar 1 16:37:42 CST 2023)
This commit is contained in:
parent
7d39e5352c
commit
3b9fafecf5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user