From b3203f81d03a43096ac42e0e28bc030124e2a72b Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 11 Oct 2021 19:44:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F=20=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E5=91=BD=E4=BB=A4=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/agent/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/agent/main.go b/cmd/agent/main.go index 139fbf62f8..d5c0579ac9 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -98,7 +98,9 @@ func run() { ClientSecret: agentConf.ClientSecret, } - go pty.DownloadDependency() + if !agentConf.DisableCommandExecute { + go pty.DownloadDependency() + } // 上报服务器信息 go reportState() // 更新IP信息