fix: omc upgrade and restart issue

This commit is contained in:
2024-04-16 11:19:07 +08:00
parent 0c149785a7
commit 56842910f6
2 changed files with 13 additions and 9 deletions

View File

@@ -930,7 +930,7 @@ func RollBackSoftwareToNF(w http.ResponseWriter, r *http.Request) {
return
}
services.ResponseStatusOK204NoContent(w)
RunSSHCmd(sshHost, runCmd)
go RunSSHCmd(sshHost, runCmd)
return
}
err = RunSSHCmd(sshHost, runCmd)