重构代码, 更新密码函数,支持传入配置文件路径并增加错误处理
This commit is contained in:
@@ -38,7 +38,7 @@ create_tuic_acme_tls_config() {
|
||||
update_port
|
||||
|
||||
# 设置密码
|
||||
update_password
|
||||
update_password "$CONFIG_FILE"
|
||||
|
||||
# 设置UUID
|
||||
update_uuid
|
||||
@@ -59,7 +59,7 @@ create_tuic_self_tls_config() {
|
||||
update_port
|
||||
|
||||
# 设置密码
|
||||
update_password
|
||||
update_password "$CONFIG_FILE"
|
||||
|
||||
# 设置UUID
|
||||
update_uuid
|
||||
|
||||
Reference in New Issue
Block a user