fix: omc upgrade and restart issue

This commit is contained in:
simonzhangsz committed 2024-04-16 11:19:07 +08:00
1 parent 0c149785a7
commit 56842910f6
2 files changed
+13 -9

No files matched your search

+1 -1
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)