From c514f25ed39ff47e96096376e6006a95b806e6d5 Mon Sep 17 00:00:00 2001 From: 554325746@qq.com <554325746@qq.com> Date: 星期三, 03 六月 2020 11:56:47 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/webserver --- extend/util/zip.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extend/util/zip.go b/extend/util/zip.go index 592a48a..0fac79f 100644 --- a/extend/util/zip.go +++ b/extend/util/zip.go @@ -282,7 +282,7 @@ } func UnTarGzByCmd(srcFile string, dstPath string) (string,error) { - cmd := exec.Command("tar -zxvf", srcFile, "-C", dstPath) + cmd := exec.Command("tar","-zxvf", srcFile, "-C", dstPath) outPut, err := cmd.Output() return string(outPut), err } -- Gitblit v1.8.0