diff --git a/scagent/core/FileRpc.go b/scagent/core/FileRpc.go index 203727b..ddf84b4 100644 --- a/scagent/core/FileRpc.go +++ b/scagent/core/FileRpc.go @@ -93,7 +93,7 @@ func clientUploadFile(remote string, filePath string, uploadPath string) { // 调用外部组件scalib 程序执行 // ./scalib -h 192.168.66.92:9098 -f /www/gfs/sync_zips/BIU_20251009_153640.zip -u /www/afs/logs/ // 执行命令 - cmd := fmt.Sprintf("./scalib -h %s -f %s -u %s", remote, filePath, uploadPath) + cmd := fmt.Sprintf("scalib -h %s -f %s -u %s", remote, filePath, uploadPath) fmt.Printf("cmd: %s\n", cmd) // 执行系统命令 err := exec.Command(cmd).Run()