Mark server as not transferring after archive failure

This commit is contained in:
Matthew Penner 2021-01-02 10:11:25 -07:00
parent bf554e8ed2
commit d3ddf8cf39

View File

@ -129,6 +129,9 @@ func postServerArchive(c *gin.Context) {
return
}
// Mark the server as not being transferred so it can actually be used.
s.SetTransferring(false)
s.Events().Publish(server.TransferStatusEvent, "failure")
sendTransferLog("Attempting to notify panel of archive failure..")