From ee4e45187dbbbace11f1987eb08560bdd482b2ff Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 20 十二月 2019 18:33:44 +0800
Subject: [PATCH] add &
---
service/SysService.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/service/SysService.go b/service/SysService.go
index 02f67b5..055fb0f 100644
--- a/service/SysService.go
+++ b/service/SysService.go
@@ -260,7 +260,7 @@
//鍒ゆ柇鏇存柊鍖呴噷鏄惁鏈夎ˉ涓佽剼鏈紝濡傛灉鏈夊垯鎵ц锛屽惁鍒欐墽琛寀pdatePatch.sh
updateCmd := fmt.Sprintf("./updatePatch.sh %s %s %s &",unPackPath,zipFilePath,configPatchPath+"/"+identifier)
if util.Exists(unPackPath+"upgrade.sh") {
- updateCmd = fmt.Sprintf("%supgrade.sh %s %s %s",unPackPath,unPackPath,zipFilePath,configPatchPath+"/"+identifier)
+ updateCmd = fmt.Sprintf("%supgrade.sh %s %s %s &",unPackPath,unPackPath,zipFilePath,configPatchPath+"/"+identifier)
}
//2.鏇存柊绯荤粺
b,err := ExecCmd(updateCmd)
--
Gitblit v1.8.0