更新工作区配置,删除不再使用的Cloudflare相关文件,优化日志输出格式,增强主机信息收集功能,调整代码结构以提高可维护性。
This commit is contained in:
@@ -40,7 +40,7 @@ func addAcmeSubcommands(cmd *cobra.Command) {
|
||||
"/tmp/acme.sh",
|
||||
)
|
||||
if !ok {
|
||||
log.Error("下载acme.sh失败", err)
|
||||
log.Error("下载acme.sh失败 %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ func addAcmeSubcommands(cmd *cobra.Command) {
|
||||
// 执行命令
|
||||
ok, output := op.SingleLineCommandExecutor([]string{"/root/.acme.sh/acme.sh", "--list"})
|
||||
if !ok {
|
||||
log.Error("列出acme全部的证书失败", output)
|
||||
log.Error("列出acme全部的证书失败 %v", output)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user