From 2ec36400c3e5d83508c548c165ad85cba327f7bc Mon Sep 17 00:00:00 2001 From: xc Date: Thu, 23 Oct 2025 18:13:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B7=AF=E5=BE=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scagent/util/fsutil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scagent/util/fsutil.go b/scagent/util/fsutil.go index 7c9087e..d06e7c7 100644 --- a/scagent/util/fsutil.go +++ b/scagent/util/fsutil.go @@ -335,7 +335,7 @@ func CompressToZip(dest string, currentPath string, paths []string) error { fmt.Println(err.Error()) } // ToSlash 过滤windows的斜杠引起的bug - zfile, err := os.Create(path.Join("./sync_zips", "/", dest)) + zfile, err := os.Create(path.Join("./sync_zips", filesPath, dest)) if err != nil { return err }