🔒️ 允许禁止命令执行

This commit is contained in:
naiba committed 2021-10-11 19:44:23 +08:00
1 parent b0ba028211
commit b3203f81d0
1 file changed
+3 -1
+3 -1
View File
@@ -98,7 +98,9 @@ func run() {
ClientSecret: agentConf.ClientSecret, ClientSecret: agentConf.ClientSecret,
} }
go pty.DownloadDependency() if !agentConf.DisableCommandExecute {
go pty.DownloadDependency()
}
// 上报服务器信息 // 上报服务器信息
go reportState() go reportState()
// 更新IP信息 // 更新IP信息