liuxiaolong
2019-12-18 c82458e612a6ef1cdb4e789392ed489f5ea646c9
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 {