2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

chore: debug

This commit is contained in:
耗子
2024-10-31 18:32:08 +08:00
parent d73c988073
commit 79e09f9cb7

View File

@@ -46,7 +46,7 @@ func Compress(dir string, src []string, dst string) error {
case Xz:
_, err = shell.ExecfWithDir(dir, "tar -cJf %s %s", dst, strings.Join(src, " "))
case SevenZip:
out, err = shell.ExecfWithDir(dir, "7z a -y %s %s", dst, strings.Join(src, " "))
_, err = shell.ExecfWithDir(dir, "7z a -y %s %s", dst, strings.Join(src, " "))
default:
return errors.New("unsupported format")
}