bugfix remove file for migrate file

This commit is contained in:
s_jqzhang 2019-05-14 09:38:17 +08:00
parent b7959f7da0
commit 9b8871c2c1

View File

@ -1803,7 +1803,7 @@ func (this *Server) RemoveFile(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(this.util.JsonEncodePretty(result)))
return
}
if fileInfo.OffSet != -1 {
if fileInfo.OffSet >= 0 {
result.Message = "small file delete not support"
w.Write([]byte(this.util.JsonEncodePretty(result)))
return