service/SysService.go
@@ -179,7 +179,7 @@ } //2.更新系统 var cmd *exec.Cmd updateCmd := fmt.Sprintf("setsid ./updatePatch.sh %s",unZipPath) updateCmd := fmt.Sprintf("setsid ./updatePatch.sh %s %s %s",unZipPath,configPatchPath+"/"+identifier+ext,configPatchPath+"/"+identifier) cmd = exec.Command("/bin/sh","-c", updateCmd) logger.Debug("called sh updatePatch.sh,updateCmd:",updateCmd) if b, err := cmd.Output(); err != nil {