liuxiaolong
2019-12-20 ee4e45187dbbbace11f1987eb08560bdd482b2ff
add &
1个文件已修改
2 ■■■ 已修改文件
service/SysService.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/SysService.go
@@ -260,7 +260,7 @@
    //判断更新包里是否有补丁脚本,如果有则执行,否则执行updatePatch.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)