mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 07:57:21 +08:00
chore: debug
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user